mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
(TLS_INIT_TP): Convert to statement expression returning 0.
This commit is contained in:
@ -88,7 +88,7 @@ typedef struct
|
|||||||
special attention since 'errno' is not yet available and if the
|
special attention since 'errno' is not yet available and if the
|
||||||
operation can cause a failure 'errno' must not be touched. */
|
operation can cause a failure 'errno' must not be touched. */
|
||||||
# define TLS_INIT_TP(descr) \
|
# define TLS_INIT_TP(descr) \
|
||||||
do { \
|
({ \
|
||||||
void *_descr = (descr); \
|
void *_descr = (descr); \
|
||||||
int result; \
|
int result; \
|
||||||
tcbhead_t *head = _descr; \
|
tcbhead_t *head = _descr; \
|
||||||
@ -98,7 +98,9 @@ typedef struct
|
|||||||
head->self = _descr; \
|
head->self = _descr; \
|
||||||
\
|
\
|
||||||
asm ("ldc %0,gbr" : : "r" (_descr)); \
|
asm ("ldc %0,gbr" : : "r" (_descr)); \
|
||||||
} while (0)
|
\
|
||||||
|
0; \
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
/* Return the address of the dtv for the current thread. */
|
/* Return the address of the dtv for the current thread. */
|
||||||
|
Reference in New Issue
Block a user