This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: dwarf2 and linker relaxation problem
- From: Ian Lance Taylor <ian at airs dot com>
- To: ddiky at alarity dot com
- Cc: binutils at sourceware dot org
- Date: 01 Sep 2005 10:48:07 -0700
- Subject: Re: dwarf2 and linker relaxation problem
- References: <200509012036.51309.ddiky@alarity.com>
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.
Ian