From 89e7505fcde4bd83948f559f429a0e1eb4262f05 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sun, 14 Dec 2014 06:41:03 -0800 Subject: [PATCH] Compress debug sections for Linux/x86 by default * config/tc-i386.c (flag_compress_debug): Default to compress debug sections for Linux. --- gas/ChangeLog | 5 +++++ gas/config/tc-i386.c | 5 +++++ 2 files changed, 10 insertions(+) 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 -- 2.30.2