Unwind table location

Cary Coutant cary at cup.hp.com
Fri Jan 28 23:51:13 UTC 2000


>Is there a reloc in the base ABI for the difference between labels in
>different sections?  I'm assuming so; it would seem necessary to write
>the self-relative offset from the unwind info table to a function in
>another text segment (which will be combined with the primary text
>segment at link time).

Yes. In particular, the self-relative offsets can be relocated using 
PCREL relocations. For other unanticipated situations, there is a 
subtract relocation and a composition rule (thanks to Jim) allowing you 
to apply a DIR relocation and a SUB relocation to the same location to 
form the difference between two labels.

-cary




More information about the cxx-abi-dev mailing list