This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] 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>
---
 backends/ChangeLog       | 5 +++++
 backends/sparc_reloc.def | 6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/backends/ChangeLog b/backends/ChangeLog
index 83710c1..a66e923 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 ce0b555..7cd5ce9 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)
-- 
1.8.3.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]