diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-06-19 20:30:20 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-06-19 20:30:20 -0700 |
commit | abfa390dac6ffcfc6de9659c0b78cfe524347450 (patch) | |
tree | f2e10a623ae60cd7b8c6c3ac258ce37a7a7e449e /bfd/ChangeLog | |
parent | a6cab9afd2c81465265c8d09569e3e6ef43d2954 (diff) | |
download | gdb-abfa390dac6ffcfc6de9659c0b78cfe524347450.zip gdb-abfa390dac6ffcfc6de9659c0b78cfe524347450.tar.gz gdb-abfa390dac6ffcfc6de9659c0b78cfe524347450.tar.bz2 |
Check the DYNAMIC bit for input shared objects
Since the BFD section count may not be cleared for shared objects during
linking, we should check the DYNAMIC bit for input shared objects.
bfd/
PR ld/21626
* elf-properties.c (_bfd_elf_link_setup_gnu_properties): Check
the DYNAMIC bit instead of bfd_count_sections.
ld/
PR ld/21626
* testsuite/ld-i386/i386.exp: Run ld/21626 tests.
* testsuite/ld-x86-64/x86-64.exp: Likewise.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5177bc7..770fdf1 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2017-06-19 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/21626 + * elf-properties.c (_bfd_elf_link_setup_gnu_properties): Check + the DYNAMIC bit instead of bfd_count_sections. + 2017-06-19 Nick Clifton <nickc@redhat.com> PR binutils/21618 |