diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2014-12-14 06:41:03 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2014-12-14 06:41:03 -0800 |
commit | 89e7505fcde4bd83948f559f429a0e1eb4262f05 (patch) | |
tree | a32a2b5dd7047bbdb742235732451a32b734c457 /gas | |
parent | bc696fd5af08fa199750abfca092894ab54206c7 (diff) | |
download | gdb-89e7505fcde4bd83948f559f429a0e1eb4262f05.zip gdb-89e7505fcde4bd83948f559f429a0e1eb4262f05.tar.gz gdb-89e7505fcde4bd83948f559f429a0e1eb4262f05.tar.bz2 |
Compress debug sections for Linux/x86 by default
* config/tc-i386.c (flag_compress_debug): Default to compress
debug sections for Linux.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-i386.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 8ab2319..27da2cc 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2014-12-14 H.J. Lu <hongjiu.lu@intel.com> + + * config/tc-i386.c (flag_compress_debug): Default to compress + debug sections for Linux. + 2014-12-12 Alan Modra <amodra@gmail.com> * 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 b6ac902..0a05c2c 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 |