Implement target independent TLS compatible with glibc's emutls.c.