public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Explicit architecture for m68k tests
@ 2010-11-21 15:19 Vincent Rivière
  2010-11-22  5:34 ` Alan Modra
  0 siblings, 1 reply; 7+ messages in thread
From: Vincent Rivière @ 2010-11-21 15:19 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 333 bytes --]

Hello.

Due to the limitations of the a.out format, the target architecture can't be 
automatically guessed by objdump.

The attached patch is required to make all tests pass on m68k-aout targets. 
It explicitly sets the architecture for objdump.
Please apply to the 2.21 branch as well as the trunk.

Regards,

-- 
Vincent Rivière

[-- Attachment #2: m68k-arch.patch --]
[-- Type: text/plain, Size: 1486 bytes --]

diff -aurN binutils-CVS-2_21-branch-20101120/gas/testsuite/gas/m68k/cpu32.d binutils-CVS-2_21-branch-20101120-mint/gas/testsuite/gas/m68k/cpu32.d
--- binutils-CVS-2_21-branch-20101120/gas/testsuite/gas/m68k/cpu32.d	2010-11-20 12:31:53.093750000 +0100
+++ binutils-CVS-2_21-branch-20101120-mint/gas/testsuite/gas/m68k/cpu32.d	2010-11-21 15:00:27.578125000 +0100
@@ -1,5 +1,5 @@
 #name: cpu32
-#objdump: -d
+#objdump: --architecture=m68k:cpu32 -d
 #as: -mcpu32
 
 .*:     file format .*
diff -aurN binutils-CVS-2_21-branch-20101120/gas/testsuite/gas/m68k/mcf-coproc.d binutils-CVS-2_21-branch-20101120-mint/gas/testsuite/gas/m68k/mcf-coproc.d
--- binutils-CVS-2_21-branch-20101120/gas/testsuite/gas/m68k/mcf-coproc.d	2010-11-20 12:31:53.125000000 +0100
+++ binutils-CVS-2_21-branch-20101120-mint/gas/testsuite/gas/m68k/mcf-coproc.d	2010-11-21 14:55:24.750000000 +0100
@@ -1,4 +1,4 @@
-#objdump: -d
+#objdump: --architecture=m68k:547x -d
 #as: -mcpu=5475
 
 .*:     file format .*
diff -aurN binutils-CVS-2_21-branch-20101120/gas/testsuite/gas/m68k/mcf-wdebug.d binutils-CVS-2_21-branch-20101120-mint/gas/testsuite/gas/m68k/mcf-wdebug.d
--- binutils-CVS-2_21-branch-20101120/gas/testsuite/gas/m68k/mcf-wdebug.d	2010-11-20 12:31:53.140625000 +0100
+++ binutils-CVS-2_21-branch-20101120-mint/gas/testsuite/gas/m68k/mcf-wdebug.d	2010-11-21 16:10:02.515625000 +0100
@@ -1,5 +1,5 @@
 #name: mcf-wdebug
-#objdump: -d
+#objdump: --architecture=m68k:5200 -d
 #as: -m5208
 
 .*:     file format .*

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-02-12 11:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-21 15:19 Explicit architecture for m68k tests Vincent Rivière
2010-11-22  5:34 ` Alan Modra
2010-11-22 17:45   ` Vincent Rivière
2010-11-22 21:37     ` Alan Modra
2011-02-09 21:48       ` Vincent Rivière
2011-02-10  8:46         ` Alan Modra
2011-02-12 11:05           ` Vincent Rivière

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).