aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.tgt
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-06-29 09:29:39 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-06-29 09:32:34 -0700
commit4e3e1fdf327b225b28b754d96a4d592fb3a23df0 (patch)
tree52949b5e7d72d72872d9f6157daefd8ef65254ed /gas/configure.tgt
parent803b47e5d4dc86b953aba0bc44865de287726dbe (diff)
downloadgdb-4e3e1fdf327b225b28b754d96a4d592fb3a23df0.zip
gdb-4e3e1fdf327b225b28b754d96a4d592fb3a23df0.tar.gz
gdb-4e3e1fdf327b225b28b754d96a4d592fb3a23df0.tar.bz2
Default to --enable-compressed-debug-sections=gas for Linux/x86
--enable-compressed-debug-sections=gas added to binutils 2.26. Make it default for Linux/x86 targets in 2.27. * 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.
Diffstat (limited to 'gas/configure.tgt')
-rw-r--r--gas/configure.tgt9
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/configure.tgt b/gas/configure.tgt
index cda0e26..e2df659 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