This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Add --enable-compressed-debug-sections={all,gas,gold,ld}
- From: Mark Wielaard <mjw at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>, nickc at redhat dot com
- Date: Wed, 21 Oct 2015 12:12:42 +0200
- Subject: Re: [PATCH] Add --enable-compressed-debug-sections={all,gas,gold,ld}
- Authentication-results: sourceware.org; auth=none
- References: <20151019155129 dot GA29332 at intel dot com> <CAMe9rOrqcC=6-42SsbsJ_ZfcdD2j2Qc5T9pubHiV_AKMGWYBTg at mail dot gmail dot com>
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