aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-10-19 11:45:54 +0100
committerNick Clifton <nickc@redhat.com>2015-10-19 11:45:54 +0100
commite12fe5554c3b70139f68e33ded9e2a8075b9d484 (patch)
tree0df02cc16811d762b9bf6c99b81dd56e3dfe5660 /gas/config
parent65808c966405fdc5ac770bfede9b3d5e0614dc81 (diff)
downloadgdb-e12fe5554c3b70139f68e33ded9e2a8075b9d484.zip
gdb-e12fe5554c3b70139f68e33ded9e2a8075b9d484.tar.gz
gdb-e12fe5554c3b70139f68e33ded9e2a8075b9d484.tar.bz2
Add a gas configure option to select the default behaviour for the generation of debug sections - compressed or uncompressed.
PR gas/19109 * configure.ac: Add option --enable-compressed-debug-sections. This sets the default behaviour for compressing debug sections. * as.c (flag_compress_debug): Define and initialise to COMPRESS_DEBUG_GABI_ZLIB if DEFAULT_COMPRESS_DEBUG is set. (show_usage): Indicate whether --no-compress-debug-sections or --compress-debug-sections is the default. * config/tc-i386.c (flag_compress_debug): Delete definition. * doc/as.texinfo (--nocompress-debug-sectionas): Update description. * NEWS: Announce the new feature. * config.in: Regenerate. * configure: Regenerate.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 13f1d27..b5c27ee 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -33,12 +33,6 @@
#include "elf/x86-64.h"
#include "opcodes/i386-init.h"
-#ifdef TE_LINUX
-/* Default to compress debug sections for Linux. */
-enum compressed_debug_section_type flag_compress_debug
- = COMPRESS_DEBUG_GABI_ZLIB;
-#endif
-
#ifndef REGISTER_WARNINGS
#define REGISTER_WARNINGS 1
#endif