SPRAB89A September 2011 – March 2014
A complete GOT-based reference using near DP-relative addressing form looks like this:
LDW *+DP($GOT(sym)),tmp ;reloc R_C6000_SBR_GOT_U15
LDW *tmp,dest
The relocation indicated here causes the static linker to allocate a GOT entry and evaluate to its DP-relative offset. The table entry itself is marked with a dynamic relocation that evaluates to the address of the symbol.