* elf/elf.h: Define R_386_TLS_GD and R_386_TLS_LDM.
This commit is contained in:
Ulrich Drepper 2002-02-11 06:09:47 +00:00
parent 2e36cb48e5
commit 73a03a7663
2 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2002-02-10 Ulrich Drepper <drepper@redhat.com> 2002-02-10 Ulrich Drepper <drepper@redhat.com>
* elf/elf.h: Define R_386_TLS_GD and R_386_TLS_LDM.
* elf/tst-tls3.c: New file. * elf/tst-tls3.c: New file.
* elf/tst-tlsmod1.c: New file. * elf/tst-tlsmod1.c: New file.
* elf/Makefile: Add rules to build and run tst-tls3. * elf/Makefile: Add rules to build and run tst-tls3.

View File

@ -1073,6 +1073,11 @@ typedef struct
#define R_386_GOTOFF 9 /* 32 bit offset to GOT */ #define R_386_GOTOFF 9 /* 32 bit offset to GOT */
#define R_386_GOTPC 10 /* 32 bit PC relative offset to GOT */ #define R_386_GOTPC 10 /* 32 bit PC relative offset to GOT */
#define R_386_32PLT 11 #define R_386_32PLT 11
#define R_386_TLS_GD 18 /* Direct 32 bit for GNU version of
general dynamic thread local data */
#define R_386_TLS_LDM 19 /* Direct 32 bit for GNU version of
local dynamic thread local data
in LE code */
#define R_386_16 20 #define R_386_16 20
#define R_386_PC16 21 #define R_386_PC16 21
#define R_386_8 22 #define R_386_8 22
@ -1084,7 +1089,7 @@ typedef struct
__tls_get_addr() */ __tls_get_addr() */
#define R_386_TLS_GD_POP 27 /* Tag for popl in GD TLS code */ #define R_386_TLS_GD_POP 27 /* Tag for popl in GD TLS code */
#define R_386_TLS_LDM_32 28 /* Direct 32 bit for local dynamic #define R_386_TLS_LDM_32 28 /* Direct 32 bit for local dynamic
thread local data in GD code */ thread local data in LE code */
#define R_386_TLS_LDM_PUSH 29 /* Tag for pushl in LDM TLS code */ #define R_386_TLS_LDM_PUSH 29 /* Tag for pushl in LDM TLS code */
#define R_386_TLS_LDM_CALL 30 /* Relocation for call to #define R_386_TLS_LDM_CALL 30 /* Relocation for call to
__tls_get_addr() in LDM code */ __tls_get_addr() in LDM code */