diff options
author | Nick Clifton <nickc@redhat.com> | 2011-06-10 14:04:25 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2011-06-10 14:04:25 +0000 |
commit | 894891db7f1ff09f021a0d2c8bb471f3a73a776a (patch) | |
tree | 92496b5fd1ebc0c60c95f341ca77699e87569545 /ld/testsuite/ChangeLog | |
parent | 12af614e24384fa939bbc1b55e40cfc28322c3a4 (diff) | |
download | gdb-894891db7f1ff09f021a0d2c8bb471f3a73a776a.zip gdb-894891db7f1ff09f021a0d2c8bb471f3a73a776a.tar.gz gdb-894891db7f1ff09f021a0d2c8bb471f3a73a776a.tar.bz2 |
* elflink.c (_bfd_elf_link_create_dynamic_sections): If the
backend does not provide a function for creating dynamic sections
then fail.
(bfd_elf_final_link): Issue a warning message if a dynamic section
has the SHT_NOTE type.
(bfd_elf_final_link): Do not look for dynamic strings in a section
that does not have the SHT_STRTAB type or the name .dynstr.
* elf32-arm.c (elf32_arm_finish_dynamic_sections): Fail if the got
section is not in the output binary.
* elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Likewise.
* ld-elf/elf.exp: Add test for linking a shared library with a
broken linker script that marks dynamic sections as being notes.
* ld-elf/note-3.s: New test source file.
* ld-elf/note-3.t: New test linker script.
* ld-elf/note-3.l: Expected output from the linker.
* lib/ld-lib.exp (run_ld_link_tests): Improve description.
Diffstat (limited to 'ld/testsuite/ChangeLog')
-rw-r--r-- | ld/testsuite/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 43b678f..d224e3c 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2011-06-10 Nick Clifton <nickc@redhat.com> + + * ld-elf/elf.exp: Add test for linking a shared library with a + broken linker script that marks dynamic sections as being notes. + * ld-elf/note-3.s: New test source file. + * ld-elf/note-3.t: New test linker script. + * ld-elf/note-3.l: Expected output from the linker. + * lib/ld-lib.exp (run_ld_link_tests): Improve description. + 2011-06-08 H.J. Lu <hongjiu.lu@intel.com> * ld-x86-64/x86-64.exp: Build x32 DSO from x86-64 object file |