This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: selective[1245] xfail on x86-64


Alan Modra <amodra@bigpond.net.au> writes:

|> On Thu, May 30, 2002 at 02:09:54PM +0100, Nick Clifton wrote:
|> > Hi Alan,
|> > 
|> > > > Hmm - well at the very least I think that you ought to add a comment
|> > > > as well, explaining that it is relocs in the .eh_frame section that
|> > > > are keeping the redundant symbols in the executables.  It would also
|> > > > be good to add a FIXME note to the x86_64 sources somewhere saying
|> > > > that this ought to be corrected some day.
|> > > 
|> > > It's not specific to x86_64.  I see the same thing on powerpc64, and
|> > > I think other targets will suffer the same problem.
|> > 
|> > Ok - well then perhaps there ought to be a more generic test in
|> > selective.exp.  Something like:
|> 
|> Or maybe we could just treat .eh_frame specially in elf_gc_mark.
|> Andreas, does this cure the x86_64 problem?

Doesn't work:

tmpdir/1.o(.eh_frame+0x38): undefined reference to `local symbols in discarded section .text.dropme1'

|> (It doesn't work
|> on powerpc64 because the .opd section refers to all functions.

Can't this be fixed by splitting .opd in the same way as .text?

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]