mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-05 19:35:52 +03:00
(INIT_THREAD_SELF): Added __volatile__ qualifier to be safe.
This commit is contained in:
@@ -53,4 +53,4 @@ struct _pthread_descr_struct;
|
|||||||
|
|
||||||
/* Initialize the thread-unique value. */
|
/* Initialize the thread-unique value. */
|
||||||
#define INIT_THREAD_SELF(descr, nr) \
|
#define INIT_THREAD_SELF(descr, nr) \
|
||||||
({ __asm__("ldc %0,gbr" : : "r" (descr));})
|
({ __asm__ __volatile__("ldc %0,gbr" : : "r" (descr));})
|
||||||
|
Reference in New Issue
Block a user