diff options
author | Roland McGrath <mcgrathr@google.com> | 2013-11-19 10:54:00 -0800 |
---|---|---|
committer | Roland McGrath <mcgrathr@google.com> | 2013-11-19 10:54:00 -0800 |
commit | c2763e270c6627e55ac7a75ed3c0a717fbca9bd0 (patch) | |
tree | 832667bc181fa2fc7640c1a1e5084b86261ace12 /ld/ChangeLog | |
parent | 03e621be975dacc9cec9f5782698bdb098f6a49c (diff) | |
download | gdb-c2763e270c6627e55ac7a75ed3c0a717fbca9bd0.zip gdb-c2763e270c6627e55ac7a75ed3c0a717fbca9bd0.tar.gz gdb-c2763e270c6627e55ac7a75ed3c0a717fbca9bd0.tar.bz2 |
Fix references to __ehdr_start when it cannot be defined
ld/
* 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/
* 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.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 8984e66..2ea3b61 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,11 @@ +2013-11-19 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. + 2013-11-18 Chung-Lin Tang <cltang@codesourcery.com> * emulparams/nios2linux.sh: New emulation file. |