From 7bc6f91e3c38c5cd7612a14696f509058594ce24 Mon Sep 17 00:00:00 2001 From: Claudiu Zissulescu Date: Thu, 20 Jul 2017 12:47:30 -0400 Subject: [PATCH] [ARC] Fix big-endian ld tests errors. A set of small patches that are fixing big-endian observed errors. ld/ 2017-07-20 Claudiu Zissulescu * 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/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 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) 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]+ +.+ -- 2.9.3