aboutsummaryrefslogtreecommitdiff
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
parentd957c4d3fa48d685ff2726c605c988127ef99395 (diff)
downloadglibc-2c3d888304642a2241a84491eeac9344be507ea4.zip
glibc-2c3d888304642a2241a84491eeac9344be507ea4.tar.gz
glibc-2c3d888304642a2241a84491eeac9344be507ea4.tar.bz2
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.
-rw-r--r--ChangeLog8
-rw-r--r--elf/elf.h15
2 files changed, 23 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b587b40..639630f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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.
+
2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/i386/Makefile (rtld-CFLAGS): New.
diff --git a/elf/elf.h b/elf/elf.h
index 04400ec..9e59b32 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