This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Bug in >64k-section ELF handling when linking (with -r)
On Sun, Nov 03, 2002 at 01:58:18AM +0100, Hans-Peter Nilsson wrote:
> Hmm, not just ld -r. The trivial test below failed for a "trivial" link
> too.
Yeah, but a normal final link combines all .text.* and .data.* etc.
so that you don't end up with >64k sections.
> I'll commit this (if/when I get ok to the ld-lib.exp change) to
> ld-cris in a few days, with sanity checks for presence of
> 64k-sections replacing the "#pass":es. Though I'd prefer to add
> it to e.g. a new generic dir ld-elf, decorated to avoid
> non-applicable targets as in ld-linkonce/linkonce.exp. Ok to
> commit the ld-lib.exp change?
Looks OK to me.
> Would you prefer the tests in
> ld-elf/sec64k.exp? Perhaps best anyway to wait after a fix is
> committed; having test-suite runs hanging is inproductive.
Yes, and yes.
--
Alan Modra
IBM OzLabs - Linux Technology Centre