PPC64 new ABI .opd symbols
Mon Aug 29 15:19:00 GMT 2005
Is there any (reliable and cheap) way how to recognize new PPC64 ABI (==
dotless PPC64 ABI) .opd symbols from the dynamic linker/libc.so?
glibc can't use section header table for that (as it can be stripped
off and in any case isn't loaded at runtime).
The reason why I'm asking is that in the new ABI st_size on the .opd
symbols has different meaning (size of function's code) from what is
st_size used in other symbols. This means dladdr and dladdr1 give
If there is none (I haven't found anything reliable so far, just looking
for non-SHN_UNDEF STT_FUNC symbols is not good enough, as in old ABI
STT_FUNC has been used for dot symbols), could we have
a new STO_PPC64_OPDSYM or something like that set on these symbols
to reliably detect them at least for all future linked libraries/binaries?
More information about the Binutils