decyphering exception info on ARM

When LLVM generates typeinfo for arm (raspiberry pi elf) it generates:

  .long _rtti_tc__1sException(target2) @ TypeInfo 1

target2 seems to be some curious form of GOT_PCREL but not exactly. How can I read this at runtime? The value in memory itself does not seem to have any relation to the real address of _rtti_tc__1sException

Hello Carlo,

The R_ARM_TARGET2 is a target dependent relocation, its meaning is
defined by the platform that you are executing on.. The details are in in particular there is a link to the
GNU documentation that explains the value you want for various
platforms ARM (LD) and the
equivalent relocation that you can look up in ELF for the ARM