This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Thumb32 assembler (20/69)


This fixes a testsuite bug exposed by patch 17.  I actually wrote it
as part of patch 17, but forgot to check it into my local repository
until later.

zw

	* testsuite/gas/arm/r15-bad.s: Pass correct number of arguments to mul.
	* testsuite/gas/arm/r15-bad.l: Update to match.

===================================================================
Index: gas/testsuite/gas/arm/r15-bad.l
--- gas/testsuite/gas/arm/r15-bad.l	(revision 21)
+++ gas/testsuite/gas/arm/r15-bad.l	(revision 22)
@@ -1,6 +1,6 @@
 [^:]*: Assembler messages:
-[^:]*:5: Error: r15 not allowed here -- `mul r15,r1'
-[^:]*:6: Error: r15 not allowed here -- `mul r1,r15'
+[^:]*:5: Error: r15 not allowed here -- `mul r15,r1,r2'
+[^:]*:6: Error: r15 not allowed here -- `mul r1,r15,r2'
 [^:]*:7: Error: r15 not allowed here -- `mla r15,r2,r3,r4'
 [^:]*:8: Error: r15 not allowed here -- `mla r1,r15,r3,r4'
 [^:]*:9: Error: r15 not allowed here -- `mla r1,r2,r15,r4'
===================================================================
Index: gas/testsuite/gas/arm/r15-bad.s
--- gas/testsuite/gas/arm/r15-bad.s	(revision 21)
+++ gas/testsuite/gas/arm/r15-bad.s	(revision 22)
@@ -2,8 +2,8 @@
 .align 0
 
 label:
-	mul r15, r1
-	mul r1, r15
+	mul r15, r1, r2
+	mul r1, r15, r2
 	mla r15, r2, r3, r4
 	mla r1, r15, r3, r4
 	mla r1, r2, r15, r4

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]