aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-06-28 06:30:10 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-06-28 06:30:10 -0700
commitee0c0c503deffb7baf900ac8e092b18bf8c1528a (patch)
tree96f56c23793938b48104907000664f0eb6294a94 /gas
parente44fbadbede56bf42896c2b3214a056cf20f131e (diff)
downloadgdb-ee0c0c503deffb7baf900ac8e092b18bf8c1528a.zip
gdb-ee0c0c503deffb7baf900ac8e092b18bf8c1528a.tar.gz
gdb-ee0c0c503deffb7baf900ac8e092b18bf8c1528a.tar.bz2
Remove COMPRESS_DEBUG_ZLIB
COMPRESS_DEBUG_ZLIB isn't needed. This patch removes COMPRESS_DEBUG_ZLIB and replace COMPRESS_DEBUG_ZLIB with COMPRESS_DEBUG_GNU_ZLIB. bfd/ * bfd-in.h (compressed_debug_section_type): Remove COMPRESS_DEBUG_ZLIB. * bfd-in2.h : Regenerated. gas/ * as.c (parse_args): Replace COMPRESS_DEBUG_ZLIB with COMPRESS_DEBUG_GNU_ZLIB. * config/tc-i386.c (flag_compress_debug): Likewise. ld/ * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Replace COMPRESS_DEBUG_ZLIB with COMPRESS_DEBUG_GNU_ZLIB.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/as.c2
-rw-r--r--gas/config/tc-i386.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index eb18335..7c49ea6 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2015-06-28 H.J. Lu <hongjiu.lu@intel.com>
+
+ * as.c (parse_args): Replace COMPRESS_DEBUG_ZLIB with
+ COMPRESS_DEBUG_GNU_ZLIB.
+ * config/tc-i386.c (flag_compress_debug): Likewise.
+
2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
* doc/as.texinfo (.cfi_lsda): Remove the extra @section.
diff --git a/gas/as.c b/gas/as.c
index fecfcd2..b8a5be4 100644
--- a/gas/as.c
+++ b/gas/as.c
@@ -665,7 +665,7 @@ This program has absolutely no warranty.\n"));
if (strcasecmp (optarg, "none") == 0)
flag_compress_debug = COMPRESS_DEBUG_NONE;
else if (strcasecmp (optarg, "zlib") == 0)
- flag_compress_debug = COMPRESS_DEBUG_ZLIB;
+ flag_compress_debug = COMPRESS_DEBUG_GNU_ZLIB;
else if (strcasecmp (optarg, "zlib-gnu") == 0)
flag_compress_debug = COMPRESS_DEBUG_GNU_ZLIB;
else if (strcasecmp (optarg, "zlib-gabi") == 0)
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 34b5c28..d8405b5 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -36,7 +36,7 @@
#ifdef TE_LINUX
/* Default to compress debug sections for Linux. */
enum compressed_debug_section_type flag_compress_debug
- = COMPRESS_DEBUG_ZLIB;
+ = COMPRESS_DEBUG_GNU_ZLIB;
#endif
#ifndef REGISTER_WARNINGS