Dwarf2 FDE CIE offset
Richard Henderson
rth@redhat.com
Sun Dec 9 15:58:00 GMT 2001
On Fri, Dec 07, 2001 at 07:48:11PM +1030, Alan Modra wrote:
> Why is the dwarf2 unwind FDE CIE offset calculated as
> ". - section_start_label" while dwarf2 debug info uses
> "section_start_label - 0"? In particular, why the sign change?
To not require a runtime relocation.
> If gcc used "section_start_label - ." instead, then the assembler could
> use a pc-relative reloc referring to .Lframe1.
True, that would also have worked. Not all target object files
(even in elf) have pc-relative relocs though, so it seems that
you'd not really have solved the problem.
> Any hope of a change here?
No.
r~
More information about the Gcc-bugs
mailing list