[patch] PR ld/11817 Revert part of compressed debug patch to fix ld breakage

H.J. Lu hjl.tools@gmail.com
Wed Jul 14 19:39:00 GMT 2010


On Wed, Jul 14, 2010 at 12:02 PM, Cary Coutant <ccoutant@google.com> wrote:
> The part of my compressed debug section patch that affected
> bfd/dwarf2.c broke ld. This patch reverts that part. The original
> patch was an attempt to fix a problem where it would apply relocations
> before decompressing instead of the other way around. Since gnu ld
> doesn't yet support compressed debug sections anyway, reverting this
> patch will have no adverse effect there, but it will also leave
> addr2line unable to handle relocatable object files with compressed
> debug sections.
>
> -cary
>
>        PR ld/11817
>        * dwarf2.c (read_section): Revert patch for compressed debug sections.
>        (find_line): Likewise.
>        (read_and_uncompress_section): Remove.
>

I think it is OK to revert your own patch.  As for addr2line, please open
a bug report.

BTW, I am interesting in compressed debug section support in ld.
It will be another topic.

Thanks.


-- 
H.J.



More information about the Binutils mailing list