summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2017-07-27 23:07:00 +0200
committerMark Wielaard <mark@klomp.org>2017-08-02 14:06:50 +0200
commit31bae8177b7302d0bcf3b57c9dce8abb591821aa (patch)
tree9aa1f5a9d70f03cf3a607ee4dbd4f64ab7aaf540
parentf9d791a92bce59cd68a909d77b94e5ece3c66c01 (diff)
backends: sparc GOTDATA_OP[_HIX22|LOX10] can be used in ET_REL files.
Tested on new GNU Compile Farm server gcc202. Signed-off-by: Mark Wielaard <mark@klomp.org>
-rw-r--r--backends/ChangeLog5
-rw-r--r--backends/sparc_reloc.def6
2 files changed, 8 insertions, 3 deletions
diff --git a/backends/ChangeLog b/backends/ChangeLog
index 83710c19..a66e923e 100644
--- a/backends/ChangeLog
+++ b/backends/ChangeLog
@@ -1,3 +1,8 @@
+2017-07-27 Mark Wielaard <mark@klomp.org>
+
+ * sparc_reloc.def: GOTDATA_OP_HIX22, GOTDATA_OP_LOX10 and
+ GOTDATA_OP can be used in ET_REL files.
+
2017-07-19 Gustavo Romero <gromero@linux.vnet.ibm.com>
* ppc_corenote.c: Add offsets for ppc64 HTM SPRs: thfar, tfiar,
diff --git a/backends/sparc_reloc.def b/backends/sparc_reloc.def
index ce0b5556..7cd5ce96 100644
--- a/backends/sparc_reloc.def
+++ b/backends/sparc_reloc.def
@@ -110,9 +110,9 @@ RELOC_TYPE (TLS_TPOFF32, DYN)
RELOC_TYPE (TLS_TPOFF64, DYN)
RELOC_TYPE (GOTDATA_HIX22, REL)
RELOC_TYPE (GOTDATA_LOX10, REL)
-RELOC_TYPE (GOTDATA_OP_HIX22, DYN)
-RELOC_TYPE (GOTDATA_OP_LOX10, DYN)
-RELOC_TYPE (GOTDATA_OP, DYN)
+RELOC_TYPE (GOTDATA_OP_HIX22, REL|DYN)
+RELOC_TYPE (GOTDATA_OP_LOX10, REL|DYN)
+RELOC_TYPE (GOTDATA_OP, REL|DYN)
RELOC_TYPE (H34, REL)
RELOC_TYPE (SIZE32, REL)
RELOC_TYPE (SIZE64, REL)