[PATCH] elf: Define missing Meta architecture specific relocations

Khem Raj raj.khem@gmail.com
Tue Jul 12 01:51:00 GMT 2016


---
ChangeLog

2016-07-11   Ross Burton  <ross.burton@intel.com>
             Khem Raj  <raj.khem@gmail.com>

        * elf/elf.h (R_METAG_NONE, R_METAG_NONE): New.


 elf/elf.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/elf/elf.h b/elf/elf.h
index b6112d9..053702d 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -3682,6 +3682,11 @@ enum
 #define R_BPF_NONE		0	/* No reloc */
 #define R_BPF_MAP_FD		1	/* Map fd to pointer */
 
+/* Imagination Meta specific relocations. */
+
+#define R_METAG_ADDR32		2	/* 32bit absolute address */
+#define R_METAG_NONE		3	/* No reloc */
+
 __END_DECLS
 
 #endif	/* elf.h */
-- 
2.9.0



More information about the Libc-alpha mailing list