2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
+ * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
+ the first argument and return value of __tls_get_addr_internal.
+
+2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
+
* sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
compiler will take care of setting up r12 only if itself issued the
__tls_get_offset call. */
# define __TLS_GET_ADDR(__ti) \
- ({ (void *) __tls_get_addr_internal ((char *) (__ti)) \
+ ({ __tls_get_addr_internal (__ti) \
+ (unsigned long) __builtin_thread_pointer (); })
#endif