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.
This commit is contained in:
H.J. Lu 2016-06-29 09:29:39 -07:00
parent 803b47e5d4
commit 4e3e1fdf32
3 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
* 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 <macro@imgtec.com>
* write.c: Remove "libbfd.h" inclusion.

View File

@ -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.

View File

@ -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