https://sourceware.org/bugzilla/show_bug.cgi?id=19109
--- Comment #20 from Nick Clifton <nickc at redhat dot com> --- Right - I have checked my patch in. H.J. - if you add a patch like this to your sources then x86/x86_64 linux targets will again default to compressing debug sections: diff --git a/gas/configure.ac b/gas/configure.ac index aa6bb1d..0394eda 100644 --- a/gas/configure.ac +++ b/gas/configure.ac @@ -457,6 +469,15 @@ changequote([,])dnl if test $this_target = $target ; then AC_DEFINE_UNQUOTED(DEFAULT_ARCH, "${arch}", [Default architecture.]) fi + + # For x86 Linux targets default to compressing + # debug sections unless configured otherwise. + cds=${ac_default_compressed_debug_sections}-${cpu_type}-${target_os} + case $cds in + unset-i386-linux-*) + ac_default_compressed_debug_sections=yes + ;; + esac ;; rl78) Once 2.26 is released we can add code like this for the other Linux targets as well. As far as the linker is concerned, I guess that the best thing to would be to have the same configure option work it too. (Currently this does not happen - the option only affects the assembler's default). Aside - is there any reason why someone would want the assembler and linker to behave differently ? Ie have one produce compressed debug sections, but the other not ? My plan is that once 2.26 is out, and we flip the default for Linux targets, we contact the binutils maintainers of as many distributions as we can find and let them know about the change. We can also offer help in migrating tools to support the new default, and suggestions as to how the new feature can be tested and evaluated. Cheers Nick -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils