linkonce sections, DWARF2 EH, and the ppc failures

Alan Modra amodra@bigpond.net.au
Mon Jun 18 20:46:00 GMT 2001


On Sun, Jun 17, 2001 at 08:54:10PM -0700, Geoff Keating wrote:
> 
> The `at' method, aka `_ZNKSs2atEj', is coming from the executable, in
> a linkonce section, but the EH data that is used is coming from
> string-inst.o, because the code for specifying the offsets is:
> 
>         .4byte  .LFB70   # FDE initial location
>         .4byte  .LFE70-.LFB70    # FDE address range

This is from .debug_aranges, right?  Why not emit the debug address
info for linkonce sections in .gnu.linkonce.da.*, say.  That way the
linker should select the appropriate debug info for the kept
linkonce section as they'll be brought in from the same file.

Alan



More information about the Gcc-bugs mailing list