From: Nick Clifton <nickc@redhat.com>
To: binutils@sourceware.org
Subject: PATCH: Fix non-ELF ARM GAS test results
Date: Fri, 22 Oct 2010 08:13:00 -0000 [thread overview]
Message-ID: <m3r5fiwsp6.fsf@redhat.com> (raw)
Hi Guys,
I am applying the patch below to fix some unexpected failures in the
GAS testsuite for non-ELF based ARM ports (arm-wince-pe, arm-epoc-pe).
Cheers
Nick
gas/testsuite/ChangeLog
2010-10-22 Nick Clifton <nickc@redhat.com>
* gas/all/fwdexp.d: Also look for f8ffffff.
* gas/arm/msr-reg-thumb.d: Skip for non-ELF based targets.
* gas/arm/vldr.d: Likewise.
* gas/arm/thumb2_ldmstm.d: Allow for extra NOPs at the end of the disassembly.
* gas/cfi/cfi.exp (cfi-arm-1): Only run for ELF based ARM targets.
Index: gas/testsuite/gas/all/fwdexp.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/all/fwdexp.d,v
retrieving revision 1.1
diff -u -3 -p -r1.1 fwdexp.d
--- gas/testsuite/gas/all/fwdexp.d 29 Sep 2010 06:49:33 -0000 1.1
+++ gas/testsuite/gas/all/fwdexp.d 22 Oct 2010 08:08:01 -0000
@@ -8,4 +8,4 @@ OFFSET +TYPE +VALUE
0+ .*(\.data|i)(|\+0xf+e|\+0xf+c|\+0xf+8)
Contents of section .*
- 0+ (0+|feff|fffe|fcffffff|fffffffc|f8ffffff ffffffff|ffffffff fffffff8) .*
+ 0+ (0+|feff|fffe|fcffffff|fffffffc|f8ffffff|f8ffffff ffffffff|ffffffff fffffff8) .*
Index: gas/testsuite/gas/arm/msr-reg-thumb.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/arm/msr-reg-thumb.d,v
retrieving revision 1.1
diff -u -3 -p -r1.1 msr-reg-thumb.d
--- gas/testsuite/gas/arm/msr-reg-thumb.d 17 Sep 2010 10:42:04 -0000 1.1
+++ gas/testsuite/gas/arm/msr-reg-thumb.d 22 Oct 2010 08:08:02 -0000
@@ -2,6 +2,7 @@
# as: -march=armv7-a -mthumb
# source: msr-reg.s
# objdump: -dr --prefix-addresses --show-raw-insn
+# skip: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd
.*: +file format .*arm.*
Index: gas/testsuite/gas/arm/thumb2_ldmstm.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/arm/thumb2_ldmstm.d,v
retrieving revision 1.3
diff -u -3 -p -r1.3 thumb2_ldmstm.d
--- gas/testsuite/gas/arm/thumb2_ldmstm.d 17 Sep 2010 15:19:14 -0000 1.3
+++ gas/testsuite/gas/arm/thumb2_ldmstm.d 22 Oct 2010 08:08:02 -0000
@@ -57,3 +57,4 @@ Disassembly of section .text:
0[0-9a-f]+ <[^>]+> 9800 ldr r0, \[sp, #0\]
0[0-9a-f]+ <[^>]+> f848 9b04 str.w r9, \[r8\], #4
0[0-9a-f]+ <[^>]+> f8c8 9000 str.w r9, \[r8\]
+#pass
Index: gas/testsuite/gas/arm/vldr.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/arm/vldr.d,v
retrieving revision 1.1
diff -u -3 -p -r1.1 vldr.d
--- gas/testsuite/gas/arm/vldr.d 27 Sep 2010 09:47:05 -0000 1.1
+++ gas/testsuite/gas/arm/vldr.d 22 Oct 2010 08:08:02 -0000
@@ -2,6 +2,7 @@
# as: -mfpu=vfp3 -mcpu=cortex-a8 -mthumb
# source: vldr.s
# objdump: -dr --prefix-addresses --show-raw-insn
+# skip: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd
.*: +file format .*arm.*
Index: gas/testsuite/gas/cfi/cfi.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cfi/cfi.exp,v
retrieving revision 1.24
diff -u -3 -p -r1.24 cfi.exp
--- gas/testsuite/gas/cfi/cfi.exp 2 Sep 2010 22:43:46 -0000 1.24
+++ gas/testsuite/gas/cfi/cfi.exp 22 Oct 2010 08:08:02 -0000
@@ -73,6 +73,10 @@ if { [istarget "i*86-*-*"] || [istarget
}
} elseif { [istarget "arm*-*"] || [istarget "xscale*-*"] } then {
+ # Only ELF based ARM targets support CFI.
+ if { [is_pecoff_format] } then {
+ return
+ }
run_dump_test "cfi-arm-1"
} elseif { [istarget "mips*-*"] } then {
reply other threads:[~2010-10-22 8:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3r5fiwsp6.fsf@redhat.com \
--to=nickc@redhat.com \
--cc=binutils@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).