dwarf2 and linker relaxation problem

Jim Blandy jimb@redhat.com
Thu Sep 1 23:30:00 GMT 2005


Ian Lance Taylor <ian@airs.com> writes:
> Dmitry Diky <ddiky@alarity.com> writes:
>
>> I am experiencing some problems with keeping dwarf2 info intact after linker 
>> relaxation. So, if linker relax section, the line info references are shifted 
>> by the number of deleted bytes. 
>> Is there any example which shows how to fix this problem?
>
> I believe this works on the SH.  See sh_elf_relax_delete_bytes in
> elf32-sh.c.

Which part of that affects the .debug_line sections?



More information about the Binutils mailing list