This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils 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]

[binutils-gdb] [ARC] Fix big-endian ld tests errors.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=645b28002711eba22e8a4df3733a01206ab7d36d

commit 645b28002711eba22e8a4df3733a01206ab7d36d
Author: claziss <claziss@synopsys.com>
Date:   Mon Jul 24 10:10:21 2017 +0200

    [ARC] Fix big-endian ld tests errors.
    
    A set of small patches that are fixing big-endian observed errors.
    
    ld/
    2017-07-24  Claudiu Zissulescu  <claziss@synopsys.com>
    
    	* testsuite/ld-arc/jli-overflow.d: Force testing for little
    	endian.
    	* testsuite/ld-arc/tls_gd-01.d: Fix string to match bigendian
    	systems.
    	* testsuite/ld-arc/tls_ie-01.d: Fix test for bigendian systems.

Diff:
---
 ld/ChangeLog                       | 8 ++++++++
 ld/testsuite/ld-arc/jli-overflow.d | 4 ++--
 ld/testsuite/ld-arc/tls_gd-01.d    | 2 +-
 ld/testsuite/ld-arc/tls_ie-01.d    | 4 ++--
 4 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index ee309d4..2d3b0eb 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,11 @@
+2017-07-24  Claudiu Zissulescu  <claziss@synopsys.com>
+
+	* testsuite/ld-arc/jli-overflow.d: Force testing for little
+	endian.
+	* testsuite/ld-arc/tls_gd-01.d: Fix string to match bigendian
+	systems.
+	* testsuite/ld-arc/tls_ie-01.d: Fix test for bigendian systems.
+
 2017-07-19  Maciej W. Rozycki  <macro@imgtec.com>
 
 	* testsuite/ld-scripts/fill.d: Adjust `xfail' entries.  Add
diff --git a/ld/testsuite/ld-arc/jli-overflow.d b/ld/testsuite/ld-arc/jli-overflow.d
index b1a2663..6445b2a 100644
--- a/ld/testsuite/ld-arc/jli-overflow.d
+++ b/ld/testsuite/ld-arc/jli-overflow.d
@@ -1,4 +1,4 @@
 #source: jli-overflow.s
-#as:
-#ld: -q -T jli-script.ld
+#as: -EL
+#ld: -q -T jli-script.ld -A elf32-arclittle
 #error_output: jli-overflow.err
diff --git a/ld/testsuite/ld-arc/tls_gd-01.d b/ld/testsuite/ld-arc/tls_gd-01.d
index e789157..d65f2cd 100644
--- a/ld/testsuite/ld-arc/tls_gd-01.d
+++ b/ld/testsuite/ld-arc/tls_gd-01.d
@@ -4,7 +4,7 @@
 #objdump: -d
 #xfail: arc*-*-elf*
 
-[^:]+:     file format elf32-littlearc
+[^:]+:     file format elf32-.*arc
 
 
 Disassembly of section \.text:
diff --git a/ld/testsuite/ld-arc/tls_ie-01.d b/ld/testsuite/ld-arc/tls_ie-01.d
index 62b3932..e4af7c2 100644
--- a/ld/testsuite/ld-arc/tls_ie-01.d
+++ b/ld/testsuite/ld-arc/tls_ie-01.d
@@ -4,7 +4,7 @@
 #objdump: -s -j .got
 #xfail: arc*-*-elf*
 
-[^:]+:     file format elf32-littlearc
+[^:]+:     file format elf32-.*arc
 
 Contents of section \.got:
- [0-9a-f]+ 08000000 0c000000 +.+
+ [0-9a-f]+ [08]+ [0c]+ +.+


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