This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]