diff options
author | Michael Matz <matz@suse.de> | 2018-01-31 14:26:46 +0100 |
---|---|---|
committer | Michael Matz <matz@suse.de> | 2018-01-31 14:37:32 +0100 |
commit | bf3077a6c3c9ff21c072a6f42c91bffefd35bc15 (patch) | |
tree | 5d3837a7783fd87738654b411674c9bbd78efc0e /bfd/ChangeLog | |
parent | 823143c6ca8ef4267e67ba03771991e08d09fabd (diff) | |
download | gdb-bf3077a6c3c9ff21c072a6f42c91bffefd35bc15.zip gdb-bf3077a6c3c9ff21c072a6f42c91bffefd35bc15.tar.gz gdb-bf3077a6c3c9ff21c072a6f42c91bffefd35bc15.tar.bz2 |
bfd_elf_define_start_stop: Fix check
We really need to check for a dynamic def, not only a ref.
See added testcase.
bfd/
* elflink.c (bfd_elf_define_start_stop): Fix check of
def_dynamic.
ld/
* testsuite/ld-elf/pr21964-5.c: New test.
* testsuite/ld-elf/shared.exp: Run it.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 2a0330c..e71a53a 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2018-01-31 Michael Matz <matz@suse.de> + + * elflink.c (bfd_elf_define_start_stop): Fix check of + def_dynamic. + 2018-01-31 H.J. Lu <hongjiu.lu@intel.com> PR ld/21964 |