[PATCH/SPARC] Fix gas/sparc/ldd-std dump test

Jose E. Marchesi jose.marchesi@oracle.com
Mon Mar 17 12:55:00 GMT 2014


[ping]

Hi.  The little patch below fixes the gas/sparc/ldd-std.[ds] dump test.
It was failing because v9 introduced new opcodes for the ldd* and std*
instructions.

gas/testsuite/ChangeLog:

2014-03-06  Jose E. Marchesi  <jose.marchesi@oracle.com>

	* gas/sparc/ldd_std.d: fix objdump invocation in order to get
	the old opcodes for the ldtw, ldtwa, stw and stwa instructions.

diff --git a/gas/testsuite/gas/sparc/ldd_std.d b/gas/testsuite/gas/sparc/ldd_std.d
index 2d0083b..6215fe3 100644
--- a/gas/testsuite/gas/sparc/ldd_std.d
+++ b/gas/testsuite/gas/sparc/ldd_std.d
@@ -1,5 +1,5 @@
 #as: -Av8
-#objdump: -dr
+#objdump: -dr -m sparc
 #name: sparc LDD/STD
 
 .*: +file format .*sparc.*



More information about the Binutils mailing list