mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 02:24:46 +08:00
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.
This commit is contained in:
parent
e44fbadbed
commit
ee0c0c503d
@ -1,3 +1,9 @@
|
||||
2015-06-28 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* bfd-in.h (compressed_debug_section_type): Remove
|
||||
COMPRESS_DEBUG_ZLIB.
|
||||
* bfd-in2.h : Regenerated.
|
||||
|
||||
2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
|
||||
|
||||
* elfxx-mips.c (_bfd_mips_elf_create_dynamic_sections): Use executable
|
||||
|
@ -443,9 +443,8 @@ enum compressed_debug_section_type
|
||||
{
|
||||
COMPRESS_DEBUG_NONE = 0,
|
||||
COMPRESS_DEBUG = 1 << 0,
|
||||
COMPRESS_DEBUG_ZLIB = COMPRESS_DEBUG | 1 << 1,
|
||||
COMPRESS_DEBUG_GNU_ZLIB = COMPRESS_DEBUG | 1 << 2,
|
||||
COMPRESS_DEBUG_GABI_ZLIB = COMPRESS_DEBUG | 1 << 3
|
||||
COMPRESS_DEBUG_GNU_ZLIB = COMPRESS_DEBUG | 1 << 1,
|
||||
COMPRESS_DEBUG_GABI_ZLIB = COMPRESS_DEBUG | 1 << 2
|
||||
};
|
||||
|
||||
/* This structure is used to keep track of stabs in sections
|
||||
|
@ -450,9 +450,8 @@ enum compressed_debug_section_type
|
||||
{
|
||||
COMPRESS_DEBUG_NONE = 0,
|
||||
COMPRESS_DEBUG = 1 << 0,
|
||||
COMPRESS_DEBUG_ZLIB = COMPRESS_DEBUG | 1 << 1,
|
||||
COMPRESS_DEBUG_GNU_ZLIB = COMPRESS_DEBUG | 1 << 2,
|
||||
COMPRESS_DEBUG_GABI_ZLIB = COMPRESS_DEBUG | 1 << 3
|
||||
COMPRESS_DEBUG_GNU_ZLIB = COMPRESS_DEBUG | 1 << 1,
|
||||
COMPRESS_DEBUG_GABI_ZLIB = COMPRESS_DEBUG | 1 << 2
|
||||
};
|
||||
|
||||
/* This structure is used to keep track of stabs in sections
|
||||
|
@ -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.
|
||||
|
2
gas/as.c
2
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)
|
||||
|
@ -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
|
||||
|
@ -1,3 +1,8 @@
|
||||
2015-06-28 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option):
|
||||
Replace COMPRESS_DEBUG_ZLIB with COMPRESS_DEBUG_GNU_ZLIB.
|
||||
|
||||
2015-06-26 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* emulparams/elf_iamcu.sh (COMPILE_IN): New.
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user