mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-17 13:00:43 +08:00
2004-01-13 Roland McGrath <roland@redhat.com>
* sysdeps/powerpc/tcb-offsets.sym: Put -- separator line before any conditionals.
This commit is contained in:
parent
760bafc5aa
commit
c393c58843
@ -1,9 +1,11 @@
|
||||
#include <sysdep.h>
|
||||
#include <tls.h>
|
||||
|
||||
-- This line separates the #include lines from conditionals.
|
||||
|
||||
# ifdef USE_TLS
|
||||
|
||||
-- Abuse tls.h macros to derive offsets relative to the thread register.
|
||||
/* Abuse tls.h macros to derive offsets relative to the thread register. */
|
||||
# undef __thread_register
|
||||
# define __thread_register ((void *) 0)
|
||||
# define thread_offsetof(mem) ((void *) &THREAD_SELF->p_##mem - (void *) 0)
|
||||
@ -15,4 +17,3 @@
|
||||
# endif
|
||||
|
||||
MULTIPLE_THREADS_OFFSET thread_offsetof (multiple_threads)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user