I missed a bit from the patch I just sent: I also had to remove the #ifdef SHARED and #endif from sysdeps/powerpc/dl-tls.h, otherwise dl-machine.h didn't see the TLS_DTV_OFFSET and TLS_TP_OFFSET definitions. Paul.