S/390: Remove __tls_get_addr argument cast.

This commit is contained in:
Andreas Krebbel 2014-01-07 09:40:39 +01:00
parent c5eebdd084
commit 87ded0c382
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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> 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym

View File

@ -91,7 +91,7 @@ extern void *__tls_get_addr_internal (tls_index *ti);
compiler will take care of setting up r12 only if itself issued the compiler will take care of setting up r12 only if itself issued the
__tls_get_offset call. */ __tls_get_offset call. */
# define __TLS_GET_ADDR(__ti) \ # define __TLS_GET_ADDR(__ti) \
({ (void *) __tls_get_addr_internal ((char *) (__ti)) \ ({ __tls_get_addr_internal (__ti) \
+ (unsigned long) __builtin_thread_pointer (); }) + (unsigned long) __builtin_thread_pointer (); })
#endif #endif