[PATCH] Fix references to __ehdr_start when it cannot be defined
Alan Modra
amodra@gmail.com
Tue Nov 19 03:52:00 GMT 2013
On Mon, Nov 18, 2013 at 03:03:40PM -0800, Roland McGrath wrote:
> ld/
> 2013-11-18 Roland McGrath <mcgrathr@google.com>
> Alan Modra <amodra@gmail.com>
>
> * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
> Don't use bfd_elf_record_link_assignment to mark __ehdr_start
> hidden. Instead, just do it directly here, and only if it was
> referenced but not defined.
>
> ld/testsuite/
> 2013-11-18 Roland McGrath <mcgrathr@google.com>
>
> * ld-elf/ehdr_start-userdef.t: New file.
> * ld-elf/ehdr_start-userdef.d: New file.
> * ld-elf/ehdr_start-strongref.s: New file.
> * ld-elf/ehdr_start-missing.t: New file.
> * ld-elf/ehdr_start-missing.d: New file.
> * ld-elf/ehdr_start-weak.d: New file.
> * ld-mips-elf/ehdr_start-2.nd: Expect __ehdr_start to be global.
OK.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list