This is the mail archive of the
mailing list for the binutils project.
Re: [PATCH] ld: provide __ehdr_start magic symbol
On Tue, Jun 26, 2012 at 6:19 PM, Alan Modra <email@example.com> wrote:
> On Tue, Jun 26, 2012 at 06:21:43AM +0200, Hans-Peter Nilsson wrote:
> > cris-axis-linux-gnu. ?Instead only targets expected to hold
> > phdrs in the address space should be included. ?Other such tests
> > use "#target: *-*-linux* *-*-gnu*", which seems appropriate here
> > too.
I had thought that the original canonical ELF layouts with headers in text
were the norm and there would be only a few outliers. I guess there are
many. It's certainly far from being only *-*-linux* and *-*-gnu* that have this
> ? ? ? ?* gas/i386/rep-ret.s: Zero pad section.
> ? ? ? ?* gas/i386/rep-ret.d: Update.
> ? ? ? ?* ld-elf/ehdr_start.s: Use data rather than rodata.
> ? ? ? ?* ld-elf/ehdr_start.d: Run on linux and gnu targets only.
I added *-*-nacl* too, since that's the target whose needs motivated
> The above fixes the failures, except for the frv-linux one, which now
> fails with
> ./ld-new: BFD (GNU Binutils) 220.127.116.1120627 assertion fail /src/binutils-current/bfd/elf32-frv.c:1333
> ./ld-new: BFD (GNU Binutils) 18.104.22.16820627 assertion fail /src/binutils-current/bfd/elf32-frv.c:1324
> LINKER BUG: .rofixup section size mismatch
> ./ld-new: final link failed: Nonrepresentable section on output
No idea what that might be about. The test is quite simple.