* s390.h: Add s390 TLS relocations.

This commit is contained in:
Martin Schwidefsky 2003-01-24 17:15:29 +00:00
parent 0127ae4041
commit b5edcf2be2
2 changed files with 41 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-01-24 Martin Schwidefsky <schwidefsky@de.ibm.com>
* s390.h: Add s390 TLS relocations.
2003-01-23 Nick Clifton <nickc@redhat.com>
* Add sh2e support:

View File

@ -73,6 +73,43 @@ START_RELOC_NUMBERS (elf_s390_reloc_type)
RELOC_NUMBER (R_390_PLTOFF16, 34) /* 16 bit offset from GOT to PLT. */
RELOC_NUMBER (R_390_PLTOFF32, 35) /* 32 bit offset from GOT to PLT. */
RELOC_NUMBER (R_390_PLTOFF64, 36) /* 16 bit offset from GOT to PLT. */
RELOC_NUMBER (R_390_TLS_LOAD, 37) /* Tag for load insn in TLS code. */
RELOC_NUMBER (R_390_TLS_GDCALL, 38) /* Tag for function call in general
dynamic TLS code. */
RELOC_NUMBER (R_390_TLS_LDCALL, 39) /* Tag for function call in local
dynamic TLS code. */
RELOC_NUMBER (R_390_TLS_GD32, 40) /* Direct 32 bit for general dynamic
thread local data. */
RELOC_NUMBER (R_390_TLS_GD64, 41) /* Direct 64 bit for general dynamic
thread local data. */
RELOC_NUMBER (R_390_TLS_GOTIE12, 42)/* 12 bit GOT offset for static TLS
block offset. */
RELOC_NUMBER (R_390_TLS_GOTIE32, 43)/* 32 bit GOT offset for static TLS
block offset. */
RELOC_NUMBER (R_390_TLS_GOTIE64, 44)/* 64 bit GOT offset for static TLS
block offset. */
RELOC_NUMBER (R_390_TLS_LDM32, 45) /* Direct 32 bit for local dynamic
thread local data in LD code. */
RELOC_NUMBER (R_390_TLS_LDM64, 46) /* Direct 64 bit for local dynamic
thread local data in LD code. */
RELOC_NUMBER (R_390_TLS_IE32, 47) /* 32 bit address of GOT entry for
negated static TLS block offset. */
RELOC_NUMBER (R_390_TLS_IE64, 48) /* 64 bit address of GOT entry for
negated static TLS block offset. */
RELOC_NUMBER (R_390_TLS_IEENT, 49) /* 32 bit rel. offset to GOT entry for
negated static TLS block offset. */
RELOC_NUMBER (R_390_TLS_LE32, 50) /* 32 bit negated offset relative to
static TLS block. */
RELOC_NUMBER (R_390_TLS_LE64, 51) /* 64 bit negated offset relative to
static TLS block. */
RELOC_NUMBER (R_390_TLS_LDO32, 52) /* 32 bit offset relative to TLS
block. */
RELOC_NUMBER (R_390_TLS_LDO64, 53) /* 64 bit offset relative to TLS
block. */
RELOC_NUMBER (R_390_TLS_DTPMOD, 54) /* ID of module containing symbol. */
RELOC_NUMBER (R_390_TLS_DTPOFF, 55) /* Offset in TLS block. */
RELOC_NUMBER (R_390_TLS_TPOFF, 56) /* Negate offset in static TLS
block. */
/* These are GNU extensions to enable C++ vtable garbage collection. */
RELOC_NUMBER (R_390_GNU_VTINHERIT, 250)
RELOC_NUMBER (R_390_GNU_VTENTRY, 251)