diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-02-02 03:30:21 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-02-02 03:30:48 -0800 |
commit | 14f2c699ddca1e2f706342dffc59a6c7e23e844c (patch) | |
tree | 1c139746a08e92bb640f08145d0ca4f28d696571 /binutils/ChangeLog | |
parent | a143b0045ca8a7024a8515b5dda3ceab5f832e83 (diff) | |
download | gdb-14f2c699ddca1e2f706342dffc59a6c7e23e844c.zip gdb-14f2c699ddca1e2f706342dffc59a6c7e23e844c.tar.gz gdb-14f2c699ddca1e2f706342dffc59a6c7e23e844c.tar.bz2 |
Clear HAS_RELOC if there are no relocations
The HAS_RELOC bit should be cleared when relocations are removed from
relocatable files.
bfd/
PR binutils/19547
* elf.c (assign_section_numbers): Clear HAS_RELOC if there are
no relocations in relocatable files.
binutils/
PR binutils/19547
* testsuite/binutils-all/objcopy.exp
(objcopy_test_without_global_symbol): New proc.
Run objcopy_test_without_global_symbol.
* testsuite/binutils-all/pr19547.c: New file.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index edc66cd..32bbf9b 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,11 @@ +2016-02-02 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/19547 + * testsuite/binutils-all/objcopy.exp + (objcopy_test_without_global_symbol): New proc. + Run objcopy_test_without_global_symbol. + * testsuite/binutils-all/pr19547.c: New file. + 2016-01-28 H.J. Lu <hongjiu.lu@intel.com> PR binutils/19523 |