aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclaziss <claziss@synopsys.com>2017-07-24 10:10:21 +0200
committerclaziss <claziss@synopsys.com>2017-07-24 10:10:21 +0200
commit645b28002711eba22e8a4df3733a01206ab7d36d (patch)
tree51f3c4a9f8e7359c7a68a60befdc5c688673ad7d
parent8ca02f6a216eec3ada5936f189947c424d83d766 (diff)
downloadgdb-645b28002711eba22e8a4df3733a01206ab7d36d.zip
gdb-645b28002711eba22e8a4df3733a01206ab7d36d.tar.gz
gdb-645b28002711eba22e8a4df3733a01206ab7d36d.tar.bz2
[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.
-rw-r--r--ld/ChangeLog8
-rw-r--r--ld/testsuite/ld-arc/jli-overflow.d4
-rw-r--r--ld/testsuite/ld-arc/tls_gd-01.d2
-rw-r--r--ld/testsuite/ld-arc/tls_ie-01.d4
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]+ +.+