mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-10 11:20:10 +00:00
Update.
2003-12-16 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/tcb-offsets.sym [!__powerpc64__]: Remove conditional so MULTIPLE_THREADS_OFFSET is generated for both. * sysdeps/powerpc/tls.h [!__powerpc64__]: Remove conditional so TLS_MULTIPLE_THREADS_IN_TCB is generated for both. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Include tls.h.
This commit is contained in:
parent
c70f81dd2c
commit
0278652840
@ -1,3 +1,12 @@
|
|||||||
|
2003-12-16 Steven Munroe <sjmunroe@us.ibm.com>
|
||||||
|
|
||||||
|
* sysdeps/powerpc/tcb-offsets.sym [!__powerpc64__]: Remove
|
||||||
|
conditional so MULTIPLE_THREADS_OFFSET is generated for both.
|
||||||
|
* sysdeps/powerpc/tls.h [!__powerpc64__]: Remove conditional
|
||||||
|
so TLS_MULTIPLE_THREADS_IN_TCB is generated for both.
|
||||||
|
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
|
||||||
|
Include tls.h.
|
||||||
|
|
||||||
2003-12-04 Steven Munroe <sjmunroe@us.ibm.com>
|
2003-12-04 Steven Munroe <sjmunroe@us.ibm.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
|
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
|
||||||
|
@ -1,11 +1,6 @@
|
|||||||
#include <sysdep.h>
|
#include <sysdep.h>
|
||||||
#include <tls.h>
|
#include <tls.h>
|
||||||
|
|
||||||
--
|
|
||||||
|
|
||||||
-- This could go into powerpc32/ instead and conditionalize #include of it.
|
|
||||||
#ifndef __powerpc64__
|
|
||||||
|
|
||||||
# ifdef USE_TLS
|
# 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.
|
||||||
@ -21,4 +16,3 @@
|
|||||||
|
|
||||||
MULTIPLE_THREADS_OFFSET thread_offsetof (multiple_threads)
|
MULTIPLE_THREADS_OFFSET thread_offsetof (multiple_threads)
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -119,9 +119,7 @@ typedef struct
|
|||||||
|
|
||||||
/* Make sure we have the p_multiple_threads member in the thread structure.
|
/* Make sure we have the p_multiple_threads member in the thread structure.
|
||||||
See below. */
|
See below. */
|
||||||
# ifndef __powerpc64__
|
# define TLS_MULTIPLE_THREADS_IN_TCB 1
|
||||||
# define TLS_MULTIPLE_THREADS_IN_TCB 1
|
|
||||||
# endif
|
|
||||||
|
|
||||||
/* Get the thread descriptor definition. */
|
/* Get the thread descriptor definition. */
|
||||||
# include <linuxthreads/descr.h>
|
# include <linuxthreads/descr.h>
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
02111-1307 USA. */
|
02111-1307 USA. */
|
||||||
|
|
||||||
#include <sysdep.h>
|
#include <sysdep.h>
|
||||||
|
#include <tls.h>
|
||||||
#ifndef __ASSEMBLER__
|
#ifndef __ASSEMBLER__
|
||||||
# include <linuxthreads/internals.h>
|
# include <linuxthreads/internals.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user