mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-05 21:00:05 +00:00
Update.
2002-01-03 Ulrich Drepper <drepper@redhat.com> * elf/elf.h: Add more TLS definitions.
This commit is contained in:
parent
184cbb9a53
commit
34263e4d27
@ -1,3 +1,7 @@
|
||||
2002-01-03 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* elf/elf.h: Add more TLS definitions.
|
||||
|
||||
2002-01-02 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* include/features.h (__GLIBC_MINOR__): Bump to 3.
|
||||
|
56
elf/elf.h
56
elf/elf.h
@ -449,7 +449,8 @@ typedef struct
|
||||
#define STT_SECTION 3 /* Symbol associated with a section */
|
||||
#define STT_FILE 4 /* Symbol's name is file name */
|
||||
#define STT_COMMON 5 /* Symbol is a common data object */
|
||||
#define STT_NUM 6 /* Number of defined types. */
|
||||
#define STT_TLS 6 /* Symbol is thread-local data object*/
|
||||
#define STT_NUM 7 /* Number of defined types. */
|
||||
#define STT_LOOS 10 /* Start of OS-specific */
|
||||
#define STT_HIOS 12 /* End of OS-specific */
|
||||
#define STT_LOPROC 13 /* Start of processor-specific */
|
||||
@ -560,6 +561,10 @@ typedef struct
|
||||
#define PT_TLS 7 /* Thread-local storage segment */
|
||||
#define PT_NUM 8 /* Number of defined types */
|
||||
#define PT_LOOS 0x60000000 /* Start of OS-specific */
|
||||
#define PT_LOSUNW 0x6ffffffa
|
||||
#define PT_SUNWBSS 0x6ffffffa /* Sun Specific segment */
|
||||
#define PT_SUNWSTACK 0x6ffffffb /* Stack segment */
|
||||
#define PT_HISUNW 0x6fffffff
|
||||
#define PT_HIOS 0x6fffffff /* End of OS-specific */
|
||||
#define PT_LOPROC 0x70000000 /* Start of processor-specific */
|
||||
#define PT_HIPROC 0x7fffffff /* End of processor-specific */
|
||||
@ -581,6 +586,7 @@ typedef struct
|
||||
#define NT_PLATFORM 5 /* String from sysinfo(SI_PLATFORM) */
|
||||
#define NT_AUXV 6 /* Contains copy of auxv array */
|
||||
#define NT_GWINDOWS 7 /* Contains copy of gwindows struct */
|
||||
#define NT_ASRS 8 /* Contains copy of asrset struct */
|
||||
#define NT_PSTATUS 10 /* Contains copy of pstatus struct */
|
||||
#define NT_PSINFO 13 /* Contains copy of psinfo struct */
|
||||
#define NT_PRCRED 14 /* Contains copy of prcred struct */
|
||||
@ -1068,8 +1074,28 @@ typedef struct
|
||||
#define R_386_RELATIVE 8 /* Adjust by program base */
|
||||
#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_TLS_GD_32 12 /* Direct 32 bit for general dynamic
|
||||
thread local data */
|
||||
#define R_386_TLS_GD_PUSH 13 /* Tag for pushl in GD TLS code */
|
||||
#define R_386_TLS_GD_CALL 14 /* Relocation for call to
|
||||
__tls_get_addr() */
|
||||
#define R_386_TLS_GD_POP 15 /* Tag for popl in GD TLS code */
|
||||
#define R_386_TLS_LDM_32 16 /* Direct 32 bit for local dynamic
|
||||
thread local data in GD code */
|
||||
#define R_386_TLS_LDM_PUSH 17 /* Tag for pushl in LDM TLS code */
|
||||
#define R_386_TLS_LDM_CALL 18 /* Relocation for call to
|
||||
__tls_get_addr() in LDM code */
|
||||
#define R_386_TLS_LDM_POP 19 /* Tag for popl in LDM TLS code */
|
||||
#define R_386_TLS_LDO_32 20 /* Offset relative to TLS block */
|
||||
#define R_386_TLS_IE_32 21 /* GOT entry for static TLS block
|
||||
offset */
|
||||
#define R_386_TLS_LE_32 22 /* Offset relative to static TLS
|
||||
block */
|
||||
#define R_386_TLS_DTPMOD32 23 /* ID of module containing symbol */
|
||||
#define R_386_TLS_DTPOFF32 24 /* Offset in TLS block */
|
||||
#define R_386_TLS_TPOFF32 25 /* Offset in static TLS block */
|
||||
/* Keep this the last entry. */
|
||||
#define R_386_NUM 11
|
||||
#define R_386_NUM 26
|
||||
|
||||
/* SUN SPARC specific definitions. */
|
||||
|
||||
@ -1150,8 +1176,32 @@ typedef struct
|
||||
#define R_SPARC_REGISTER 53 /* Global register usage */
|
||||
#define R_SPARC_UA64 54 /* Direct 64 bit unaligned */
|
||||
#define R_SPARC_UA16 55 /* Direct 16 bit unaligned */
|
||||
#define R_SPARC_TLS_GD_HI22 56
|
||||
#define R_SPARC_TLS_GD_LO10 57
|
||||
#define R_SPARC_TLS_GD_ADD 58
|
||||
#define R_SPARC_TLS_GD_CALL 59
|
||||
#define R_SPARC_TLS_LDM_HI22 60
|
||||
#define R_SPARC_TLS_LDM_LO10 61
|
||||
#define R_SPARC_TLS_LDM_ADD 62
|
||||
#define R_SPARC_TLS_LDM_CALL 63
|
||||
#define R_SPARC_TLS_LDO_HIX22 64
|
||||
#define R_SPARC_TLS_LDO_LOX10 65
|
||||
#define R_SPARC_TLS_LDO_ADD 66
|
||||
#define R_SPARC_TLS_IE_HI22 67
|
||||
#define R_SPARC_TLS_IE_LO10 68
|
||||
#define R_SPARC_TLS_IE_LD 69
|
||||
#define R_SPARC_TLS_IE_LDX 70
|
||||
#define R_SPARC_TLS_IE_ADD 71
|
||||
#define R_SPARC_TLS_LE_HIX22 72
|
||||
#define R_SPARC_TLS_LE_LOX10 73
|
||||
#define R_SPARC_TLS_DTPMOD32 74
|
||||
#define R_SPARC_TLS_DTPMOD64 75
|
||||
#define R_SPARC_TLS_DTPOFF32 76
|
||||
#define R_SPARC_TLS_DTPOFF64 77
|
||||
#define R_SPARC_TLS_TPOFF32 78
|
||||
#define R_SPARC_TLS_TPOFF64 79
|
||||
/* Keep this the last entry. */
|
||||
#define R_SPARC_NUM 56
|
||||
#define R_SPARC_NUM 80
|
||||
|
||||
/* For Sparc64, legal values for d_tag of Elf64_Dyn. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user