From: H.J. Lu Date: Sun, 14 Dec 2014 14:41:03 +0000 (-0800) Subject: Compress debug sections for Linux/x86 by default X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=89e7505fcde4bd83948f559f429a0e1eb4262f05;p=binutils-gdb.git Compress debug sections for Linux/x86 by default * config/tc-i386.c (flag_compress_debug): Default to compress debug sections for Linux. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 8ab23190c91..27da2ccad43 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2014-12-14 H.J. Lu + + * config/tc-i386.c (flag_compress_debug): Default to compress + debug sections for Linux. + 2014-12-12 Alan Modra * config/tc-ppc.h (md_reg_eh_frame_to_debug_frame): Match current diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index b6ac90266f0..0a05c2c8322 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -33,6 +33,11 @@ #include "elf/x86-64.h" #include "opcodes/i386-init.h" +#ifdef TE_LINUX +/* Default to compress debug sections for Linux. */ +int flag_compress_debug = 1; +#endif + #ifndef REGISTER_WARNINGS #define REGISTER_WARNINGS 1 #endif