summaryrefslogtreecommitdiffstats
path: root/binutils/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-04-13 02:52:34 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-04-13 02:52:34 +0000
commitc398915025cc1d08213bb8fb38e53908b8057904 (patch)
tree75e6f85b592f02197f2818a73922b5f280613a23 /binutils/ChangeLog
parente319fa28f9559b7164a0a52e34ebcda1a07341c9 (diff)
downloadppe42-binutils-c398915025cc1d08213bb8fb38e53908b8057904.tar.gz
ppe42-binutils-c398915025cc1d08213bb8fb38e53908b8057904.zip
Don't generate empty reloc sections
binutils/ PR binutils/13947 * objcopy.c (copy_object): Call copy_relocations_in_section before copy_section. (skip_section): New. (copy_relocations_in_section): Likewise. (copy_section): Use skip_section. Don't copy relocations here. binutils/testsuite/ PR binutils/13947 * binutils-all/i386/compressed-1b.d: Remove empty REL section. * binutils-all/i386/compressed-1c.d: Likewise. * binutils-all/x86-64/compressed-1b.d: Remove empty RELA section. * binutils-all/x86-64/compressed-1c.d: Likewise.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r--binutils/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 5c0492c075..7b6c2191f7 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,12 @@
+2012-04-12 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR binutils/13947
+ * objcopy.c (copy_object): Call copy_relocations_in_section
+ before copy_section.
+ (skip_section): New.
+ (copy_relocations_in_section): Likewise.
+ (copy_section): Use skip_section. Don't copy relocations here.
+
2012-04-11 Ryan Mansfield <rmansfield@qnx.com>
* objdump.c (dump_bfd): If defaulting to dwarf call
OpenPOWER on IntegriCloud