This is the mail archive of the binutils@sourceware.org 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: [PATCH] Fix references to __ehdr_start when it cannot be defined


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


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