diff options
author | ssouhlal <ssouhlal@FreeBSD.org> | 2004-11-02 09:47:01 +0000 |
---|---|---|
committer | ssouhlal <ssouhlal@FreeBSD.org> | 2004-11-02 09:47:01 +0000 |
commit | 7cf9959da0f98b746de33e1a543163787a4809e2 (patch) | |
tree | fab93880b96f37b37d99185e61373e2001ba638f /sys/powerpc | |
parent | d6dc36dcc0920420394e02e5b7c7f81c949b1c22 (diff) | |
download | FreeBSD-src-7cf9959da0f98b746de33e1a543163787a4809e2.zip FreeBSD-src-7cf9959da0f98b746de33e1a543163787a4809e2.tar.gz |
Implement TLS relocations for powerpc.
Approved by: grehan (mentor)
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/include/elf.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sys/powerpc/include/elf.h b/sys/powerpc/include/elf.h index 7fc1b36..4c64472 100644 --- a/sys/powerpc/include/elf.h +++ b/sys/powerpc/include/elf.h @@ -128,6 +128,34 @@ __ElfType(Auxinfo); #define R_PPC_COUNT 37 /* Count of defined relocation types. */ /* + * TLS relocations + */ +#define R_PPC_TLS 67 +#define R_PPC_DTPMOD32 68 +#define R_PPC_TPREL16 69 +#define R_PPC_TPREL16_LO 70 +#define R_PPC_TPREL16_HI 71 +#define R_PPC_TPREL16_HA 72 +#define R_PPC_TPREL32 73 +#define R_PPC_DTPREL16 74 +#define R_PPC_DTPREL16_LO 75 +#define R_PPC_DTPREL16_HI 76 +#define R_PPC_DTPREL16_HA 77 +#define R_PPC_DTPREL32 78 +#define R_PPC_GOT_TLSGD16 79 +#define R_PPC_GOT_TLSGD16_LO 80 +#define R_PPC_GOT_TLSGD16_HI 81 +#define R_PPC_GOT_TLSGD16_HA 82 +#define R_PPC_GOT_TLSLD16 83 +#define R_PPC_GOT_TLSLD16_LO 84 +#define R_PPC_GOT_TLSLD16_HI 85 +#define R_PPC_GOT_TLSLD16_HA 86 +#define R_PPC_GOT_TPREL16 87 +#define R_PPC_GOT_TPREL16_LO 88 +#define R_PPC_GOT_TPREL16_HI 89 +#define R_PPC_GOT_TPREL16_HA 90 + +/* * The remaining relocs are from the Embedded ELF ABI, and are not in the * SVR4 ELF ABI. */ |