This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] PR ld/11817 Revert part of compressed debug patch to fix ld breakage
On Wed, Jul 14, 2010 at 1:57 PM, Cary Coutant <ccoutant@google.com> wrote:
>> I think it is OK to revert your own patch. ?As for addr2line, please open
>> a bug report.
>
> OK. For the record, the bug has been there since the original
> compressed-debug section patch two years ago, but was it impossible to
> hit until I added the option to gas.
I am adding testcases for compressed-debug sections.
>> BTW, I am interesting in compressed debug section support in ld.
>> It will be another topic.
>
> I have ld support for compressed debug sections on my list of things
> to do, but if you beat me to it, I won't complain. Even helpful
> suggestions would be welcome -- I'm not nearly as familiar with ld as
> I am of gold.
>
I think we should also support compress/uncompress debug sections
with objcopy.
I think we can do
1. Uncompress debug section on read as an option.
2. Add a BFD function to compress debug sections.
3. Add lang_compress_sections and call it from
lang_process.
We may be able to share compress functions between
gas, ld and objcopy.
Thanks.
--
H.J.