[PATCH] Add --enable-compressed-debug-sections={all,gas,gold,ld}

Mark Wielaard mjw@redhat.com
Wed Oct 21 10:12:00 GMT 2015


On Mon, 2015-10-19 at 09:40 -0700, H.J. Lu wrote:
> On Mon, Oct 19, 2015 at 8:51 AM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> > This patch removes the gas configure option:
> >
> > --enable-compressed-debug-sections
> >
> > and adds a toplevel configure option:
> >
> > --enable-compressed-debug-sections={all,gas,gold,ld}
> >
> > to enable compressed debug sections for gas, gold or ld by default.  At
> > the moment, this configure option is ignored by gold and ld.
> >
> > Any objections?

No objections to this part.

> This updated patch defaults to compressing debug sections in gas
> for x86 Linux targets.

But this was precisely what Nick's patch fixed and isn't what was agreed
upon in the bug. Changing the default should only be done after the next
major release if you can show there is a benefit to setting this default
and all tools can handle such files on the target platform.

Thanks,

Mark



More information about the Binutils mailing list