Precisely the meaning of PI_STATIC_AND_HIDDEN is that references to hidden symbols do not use the GOT/TOC. If that's not the case, you should not define PI_STATIC_AND_HIDDEN for ppc64.