[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/14465] New: GOLD segfaults when linking with discarded .plt se
From: |
nickc at redhat dot com |
Subject: |
[Bug gold/14465] New: GOLD segfaults when linking with discarded .plt sections |
Date: |
Tue, 14 Aug 2012 11:53:15 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=14465
Bug #: 14465
Summary: GOLD segfaults when linking with discarded .plt
sections
Product: binutils
Version: 2.23 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gold
AssignedTo: address@hidden
ReportedBy: address@hidden
CC: address@hidden
Classification: Unclassified
Discovered whilst creating a test for a different bug:
% cat discard.t
SECTIONS
{
.text : { *(.text) }
/DISCARD/ : { *(*) }
}
% gold /usr/lib/crt1.o -L/usr/lib/gcc/i686-redhat-linux/4.7.0 -lc -T
discard.t
Segmentation fault
The problem appears to be that GOLD expects that the .plt and .rel.plt sections
will both be present in the output file.
The test case is obviously nonsensical, but it is a cut down version of a much
larger, and sensible, test case.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gold/14465] New: GOLD segfaults when linking with discarded .plt sections,
nickc at redhat dot com <=