This adds three missing relocation types in sparc targets: WDISP10,
JMP_IREL and IRELATIVE.

Signed-off-by: Jose E. Marchesi <jose.march...@oracle.com>
---
 backends/ChangeLog       | 5 +++++
 backends/sparc_reloc.def | 3 +++
 2 files changed, 8 insertions(+)

diff --git a/backends/ChangeLog b/backends/ChangeLog
index b5e1940..3fdc0fd 100644
--- a/backends/ChangeLog
+++ b/backends/ChangeLog
@@ -1,5 +1,10 @@
 2015-10-02  Jose E. Marchesi  <jose.march...@oracle.com>
 
+       * sparc_reloc.def: Added relocation types WDISP10, JMP_IREL and
+       IRELATIVE.
+
+2015-10-02  Jose E. Marchesi  <jose.march...@oracle.com>
+
        * sparc_attrs.c: New file.
        * Makefile.am (sparc_SRCS): Added sparc_attrs.c
        * sparc_init.c (sparc_init): Hook sparc_check_object_attribute.
diff --git a/backends/sparc_reloc.def b/backends/sparc_reloc.def
index 2aeb129..ce0b555 100644
--- a/backends/sparc_reloc.def
+++ b/backends/sparc_reloc.def
@@ -116,6 +116,9 @@ RELOC_TYPE (GOTDATA_OP,             DYN)
 RELOC_TYPE (H34,               REL)
 RELOC_TYPE (SIZE32,            REL)
 RELOC_TYPE (SIZE64,            REL)
+RELOC_TYPE (WDISP10,           REL)
+RELOC_TYPE (JMP_IREL,          REL)
+RELOC_TYPE (IRELATIVE,         REL)
 RELOC_TYPE (GNU_VTINHERIT,     REL)
 RELOC_TYPE (GNU_VTENTRY,       REL)
 RELOC_TYPE (REV32,             REL)
-- 
2.3.4

Reply via email to