about summary refs log tree commit diff
path: root/elf/elf.h
diff options
context:
space:
mode:
authorWill Newton <will.newton@gmail.com>2016-07-19 15:53:35 +0100
committerWill Newton <will.newton@cocoon.life>2016-07-19 15:53:35 +0100
commit2c3d888304642a2241a84491eeac9344be507ea4 (patch)
tree69fc21f5c50388e4db6baf81de5b884d5bffe873 /elf/elf.h
parentd957c4d3fa48d685ff2726c605c988127ef99395 (diff)
downloadglibc-2c3d888304642a2241a84491eeac9344be507ea4.tar.gz
glibc-2c3d888304642a2241a84491eeac9344be507ea4.tar.xz
glibc-2c3d888304642a2241a84491eeac9344be507ea4.zip
elf/elf.h: Add missing Meta relocations
2016-07-19   Will Newton  <will.newton@gmail.com>

	* elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
	R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
	R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
	R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
	R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
Diffstat (limited to 'elf/elf.h')
-rw-r--r--elf/elf.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/elf/elf.h b/elf/elf.h
index 04400ec03c..9e59b32759 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -3703,6 +3703,9 @@ enum
 #define R_METAG_HIOG		13
 #define R_METAG_LOOG		14
 
+#define R_METAG_REL8		15
+#define R_METAG_REL16		16
+
 /* GNU */
 #define R_METAG_GNU_VTINHERIT	30
 #define R_METAG_GNU_VTENTRY	31
@@ -3725,9 +3728,21 @@ enum
 #define R_METAG_GLOB_DAT	46
 
 /* TLS relocations */
+#define R_METAG_TLS_GD		47
+#define R_METAG_TLS_LDM		48
+#define R_METAG_TLS_LDO_HI16	49
+#define R_METAG_TLS_LDO_LO16	50
+#define R_METAG_TLS_LDO		51
+#define R_METAG_TLS_IE		52
+#define R_METAG_TLS_IENONPIC	53
+#define R_METAG_TLS_IENONPIC_HI16 54
+#define R_METAG_TLS_IENONPIC_LO16 55
 #define R_METAG_TLS_TPOFF	56
 #define R_METAG_TLS_DTPMOD	57
 #define R_METAG_TLS_DTPOFF	58
+#define R_METAG_TLS_LE		59
+#define R_METAG_TLS_LE_HI16	60
+#define R_METAG_TLS_LE_LO16	61
 
 __END_DECLS