SPRAB89A September 2011 – March 2014
For completeness, the ABI also supports GOT-based addressing when the GOT itself is far; that is, outside the 15-bit offset range of the DP. In this case far DP-relative addressing is used to reach the GOT:
MVKL $DPR_GOT(sym),tmp ;reloc R_C6000_SBR_GOT_L16
MVKH $DPR_GOT(sym),tmp ;reloc R_C6000_SBR_GOT_H16
LDW *+DP[tmp],tmp2
LDW *tmp2,dest