summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/mips/rtld_machdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rtld-elf/mips/rtld_machdep.h')
-rw-r--r--libexec/rtld-elf/mips/rtld_machdep.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/libexec/rtld-elf/mips/rtld_machdep.h b/libexec/rtld-elf/mips/rtld_machdep.h
index b7cdc00..327a359 100644
--- a/libexec/rtld-elf/mips/rtld_machdep.h
+++ b/libexec/rtld-elf/mips/rtld_machdep.h
@@ -31,6 +31,7 @@
#include <sys/types.h>
#include <machine/atomic.h>
+#include <machine/tls.h>
struct Struct_Obj_Entry;
@@ -48,19 +49,6 @@ Elf_Addr reloc_jmpslot(Elf_Addr *where, Elf_Addr target,
#define call_initfini_pointer(obj, target) \
(((InitFunc)(target))())
-/*
- * TLS
- */
-
-#define TLS_TP_OFFSET 0x7000
-#define TLS_DTP_OFFSET 0x8000
-
-#ifdef __mips_n64
-#define TLS_TCB_SIZE 16
-#else
-#define TLS_TCB_SIZE 8
-#endif
-
typedef struct {
unsigned long ti_module;
unsigned long ti_offset;
OpenPOWER on IntegriCloud