diff --git a/gas/ChangeLog b/gas/ChangeLog index 4e94fd976a3..797e8a1829f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +2016-06-29 H.J. Lu + + * NEWS: Mention --enable-compressed-debug-sections=gas is the + default for Linux/x86 targets. + * configure.tgt (ac_default_compressed_debug_sections): Default + to yes for Linux/x86 targets. + 2016-06-29 Maciej W. Rozycki * write.c: Remove "libbfd.h" inclusion. diff --git a/gas/NEWS b/gas/NEWS index 08807f18f16..f5708a2554c 100644 --- a/gas/NEWS +++ b/gas/NEWS @@ -1,4 +1,6 @@ -*- text -*- +* Default to --enable-compressed-debug-sections=gas for Linux/x86 targets. + * Add --no-pad-sections to stop the assembler from padding the end of output sections up to their alignment boundary. diff --git a/gas/configure.tgt b/gas/configure.tgt index cda0e26e02c..e2df65957ba 100644 --- a/gas/configure.tgt +++ b/gas/configure.tgt @@ -502,3 +502,12 @@ if test $bfd_gas != yes; then echo This target is no longer supported in gas exit 1 fi + +case ${cpu_type}-${fmt}-${os} in +i386-elf-linux*) + # Default to compress DWARF debug sections for Linux/x86. + if test ${ac_default_compressed_debug_sections} = unset; then + ac_default_compressed_debug_sections=yes + fi + ;; +esac