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: dwarf2 and linker relaxation problem


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?


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