This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Add TLS relocation defines for mn10300/am33
- From: Mark Salter <msalter at redhat dot com>
- To: libc-alpha at sourceware dot org
- Cc: Mark Salter <msalter at redhat dot com>
- Date: Mon, 18 Jun 2012 10:45:05 -0400
- Subject: [PATCH] Add TLS relocation defines for mn10300/am33
Signed-off-by: Mark Salter <msalter@redhat.com>
---
elf/elf.h | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/elf/elf.h b/elf/elf.h
index 6522ea6..9f3cea6 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -2733,8 +2733,17 @@ typedef Elf32_Addr Elf32_Conflict;
#define R_MN10300_GLOB_DAT 21 /* Create GOT entry. */
#define R_MN10300_JMP_SLOT 22 /* Create PLT entry. */
#define R_MN10300_RELATIVE 23 /* Adjust by program base. */
-
-#define R_MN10300_NUM 24
+#define R_MN10300_TLS_GD 24
+#define R_MN10300_TLS_LD 25
+#define R_MN10300_TLS_LDO 26
+#define R_MN10300_TLS_GOTIE 27
+#define R_MN10300_TLS_IE 28
+#define R_MN10300_TLS_LE 29
+#define R_MN10300_TLS_DTPMOD 30
+#define R_MN10300_TLS_DTPOFF 31
+#define R_MN10300_TLS_TPOFF 32
+
+#define R_MN10300_NUM 33
/* M32R relocs. */
--
1.7.10.2