[PATCH] Further improved native as support on Solaris/x86

Paul Brook paul@codesourcery.com
Fri Jul 21 21:00:00 GMT 2006


>         .section        .eh_frame,"a",@progbits
> .Lframe1:
> 	...
> 	.long   DW.ref.__gxx_personality_v0-.

I thought this was the standard way of generating a pc-relative data 
relocation.

Note that while the two symbols are in different section the symbol on the RHS 
is in the same section as the value being calculated. Unless I'm missing 
something, this is the only sane way to generate position independent data.

Paul



More information about the Gcc-patches mailing list