From ee0c0c503deffb7baf900ac8e092b18bf8c1528a Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sun, 28 Jun 2015 06:30:10 -0700 Subject: 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. --- ld/ChangeLog | 5 +++++ ld/emultempl/elf32.em | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'ld') diff --git a/ld/ChangeLog b/ld/ChangeLog index 69eef8f8b47..eeb08cdac38 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2015-06-28 H.J. Lu + + * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): + Replace COMPRESS_DEBUG_ZLIB with COMPRESS_DEBUG_GNU_ZLIB. + 2015-06-26 H.J. Lu * emulparams/elf_iamcu.sh (COMPILE_IN): New. diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index cdea5d8704e..14f7963fbd4 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -2223,7 +2223,7 @@ gld${EMULATION_NAME}_handle_option (int optc) if (strcasecmp (optarg, "none") == 0) link_info.compress_debug = COMPRESS_DEBUG_NONE; else if (strcasecmp (optarg, "zlib") == 0) - link_info.compress_debug = COMPRESS_DEBUG_ZLIB; + link_info.compress_debug = COMPRESS_DEBUG_GNU_ZLIB; else if (strcasecmp (optarg, "zlib-gnu") == 0) link_info.compress_debug = COMPRESS_DEBUG_GNU_ZLIB; else if (strcasecmp (optarg, "zlib-gabi") == 0) -- cgit v1.2.1