This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: --compress-debug-sections may generate bigger sections
- From: Cary Coutant <ccoutant at google dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Tue, 20 Jul 2010 11:12:19 -0700
- Subject: Re: --compress-debug-sections may generate bigger sections
- References: <AANLkTilgcwl8Q8hKRqtH0Bdg3JrxvTHs8kVX5l8zzDQG@mail.gmail.com>
> I noticed that --compress-debug-sections might generate bigger sections,
> depending on input. Shouldn't we use uncompressed data instead if
> the compressed one is bigger?
I thought about that, and it would be a reasonable thing to do once
we've rolled over to using a section type or flag. As it is, I was
reluctant to set things up where we might have, say, a .zdebug_info
and a .debug_abbrev section, as it might confuse some tools that
aren't yet aware of the compressed sections.
-cary