diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-06-09 13:09:52 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-06-09 15:54:23 -0700 |
commit | acaa4d24f507976d10a82dc31152eb912b59b4bc (patch) | |
tree | 36641004c31c636380f892e7359d22031645ff28 /nptl/sysdeps/sh | |
parent | d752f0ccd7765c6accca2d4f2dbc6dc2a6f3b066 (diff) | |
download | glibc-acaa4d24f507976d10a82dc31152eb912b59b4bc.tar glibc-acaa4d24f507976d10a82dc31152eb912b59b4bc.tar.gz glibc-acaa4d24f507976d10a82dc31152eb912b59b4bc.tar.bz2 glibc-acaa4d24f507976d10a82dc31152eb912b59b4bc.zip |
SH: Define TLS_DEFINE_INIT_TP
Diffstat (limited to 'nptl/sysdeps/sh')
-rw-r--r-- | nptl/sysdeps/sh/tls.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nptl/sysdeps/sh/tls.h b/nptl/sysdeps/sh/tls.h index a0660d2854..d4d3e93d64 100644 --- a/nptl/sysdeps/sh/tls.h +++ b/nptl/sysdeps/sh/tls.h @@ -102,6 +102,8 @@ typedef struct # define TLS_INIT_TP(tcbp) \ ({ __asm __volatile ("ldc %0,gbr" : : "r" (tcbp)); 0; }) +# define TLS_DEFINE_INIT_TP(tp, pd) void *tp = (pd) + 1 + /* Return the address of the dtv for the current thread. */ # define THREAD_DTV() \ ({ tcbhead_t *__tcbp; \ |