This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Compress debug sections for Linux/x86 by default


On Fri, Jan 09, 2015 at 05:39:29AM -0800, H.J. Lu wrote:
> Since debuggers mostly deal with the outputs of linker,
> they won't even see the compressed debug sections.

Yes, I think some of the worry up-thread was due to thinking your
patch affected linker output.  Even so, I don't think it is a good
change.  Relocatable object files are generally temporary;  You
compile package source, install the final linked binaries, then clean
up build directories.  An optimisation that reduces temporary file
size obviously helps with disk storage, and may even reduce link
time.  However there are some cases where relocatable object files are
installed, for example, crt*.o, library archives and kernel modules.
If you then try to use those object files with an older toolchain or
one built without zlib then you'll run into difficulty.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]