[ARC] Fix big-endian ld tests errors.
authorclaziss <claziss@synopsys.com>
Mon, 24 Jul 2017 08:10:21 +0000 (10:10 +0200)
committerclaziss <claziss@synopsys.com>
Mon, 24 Jul 2017 08:10:21 +0000 (10:10 +0200)
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.

ld/ChangeLog
ld/testsuite/ld-arc/jli-overflow.d
ld/testsuite/ld-arc/tls_gd-01.d
ld/testsuite/ld-arc/tls_ie-01.d

index ee309d4304ef3d93eec012661d5e4714113244ef..2d3b0ebc33cf11345fc36177203bbf21126d3565 100644 (file)
@@ -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
index b1a2663798e6183e59b7171dbfef6d5c8e4e4e7f..6445b2aba4e042710a17cc2918b0a82d272b33cd 100644 (file)
@@ -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
index e78915763279bd4fe2b931eb0f8c5e76b0295b5a..d65f2cd0b585f5672ca98023ba9bdb4c8e2b78ed 100644 (file)
@@ -4,7 +4,7 @@
 #objdump: -d
 #xfail: arc*-*-elf*
 
-[^:]+:     file format elf32-littlearc
+[^:]+:     file format elf32-.*arc
 
 
 Disassembly of section \.text:
index 62b39324790d8df361f46260b9f748c51a8f184b..e4af7c2ee4c13bdb69017caf9d32418046801249 100644 (file)
@@ -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]+ +.+
This page took 0.028923 seconds and 4 git commands to generate.