aboutsummaryrefslogtreecommitdiff
path: root/binutils/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-04-09 10:56:28 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-04-09 10:56:28 -0700
commitcd6faa73f8e3b888ee8b73a733382a5587aca202 (patch)
tree7064b68458f5256b96583af2a6f997e27131972a /binutils/ChangeLog
parent19424843891a0b9b0f9c2532cb7251813c4a8cf9 (diff)
downloadgdb-cd6faa73f8e3b888ee8b73a733382a5587aca202.zip
gdb-cd6faa73f8e3b888ee8b73a733382a5587aca202.tar.gz
gdb-cd6faa73f8e3b888ee8b73a733382a5587aca202.tar.bz2
Properly check --compress-debug-sections=XXX
We can't check if input is ELF in copy_file since some targets may only set xvec after bfd_check_format_matches is called. This patch moves this check to copy_object. bfd/ * elfxx-target.h (TARGET_BIG_SYM): Add BFD_COMPRESS_GABI to object_flags. (TARGET_LITTLE_SYM): Likewise. binutils/ * objcopy.c (do_debug_sections): Use bit patterns. (copy_object): Return FALSE for compress_zlib, compress_gnu_zlib and compress_gabi_zlib on non-ELF input. (copy_file): Don't check non-ELF input here.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r--binutils/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index b2a81e5..bd2c715 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,10 @@
+2015-04-09 H.J. Lu <hongjiu.lu@intel.com>
+
+ * objcopy.c (do_debug_sections): Use bit patterns.
+ (copy_object): Return FALSE for compress_zlib, compress_gnu_zlib
+ and compress_gabi_zlib on non-ELF input.
+ (copy_file): Don't check non-ELF input here.
+
2015-04-09 Nick Clifton <nickc@redhat.com>
* readelf.c (get_machine_flags): Report the setting of the string