This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Fix GAS testsuite unexpected failures for d30v-elf
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: Thu, 03 Mar 2005 12:45:34 +0000
- Subject: Fix GAS testsuite unexpected failures for d30v-elf
Hi Guys,
It appears that a couple of the listing tests in the d30v specific
section of the GAS testsuite have not kept up with the changes in
the assembler's output, so I am applying the attached patch to fix
them.
Cheers
Nick
gas/testsuite/ChangeLog
2005-03-03 Nick Clifton <nickc@redhat.com>
* gas/d30v/serial.l: Remove listing lines that are no longer
emitted and fix up expected binary encoding.
* gas/d30v/serial2.l: Likewise.
* gas/d30v/serial2O.l: Likewise.
Index: gas/testsuite/gas/d30v/serial.l
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/d30v/serial.l,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 serial.l
*** gas/testsuite/gas/d30v/serial.l 3 May 1999 07:28:48 -0000 1.1.1.1
--- gas/testsuite/gas/d30v/serial.l 3 Mar 2005 12:31:14 -0000
*************** GAS LISTING .*
*** 11,22 ****
3 # In the following examples, the right-subinstructions
4 # will never be executed. GAS should detect this.
5
! 6 \?\?\?\? 000000F0 trap r21 -> add r2, r0, r0 ; right instruction will never be executed.
\*\*\*\* Error:Unable to mix instructions as specified
! 6 000000F0
! 6 000000F0
! 6 00000090
! 6 001500F0
7 \?\?\?\? 08002000 dbt -> add r2, r0, r0 ; ditto
\*\*\*\* Error:Unable to mix instructions as specified
7 00F00000
--- 11,19 ----
3 # In the following examples, the right-subinstructions
4 # will never be executed. GAS should detect this.
5
! 6 \?\?\?\? ........ trap r21 -> add r2, r0, r0 ; right instruction will never be executed.
\*\*\*\* Error:Unable to mix instructions as specified
! 6 ........
7 \?\?\?\? 08002000 dbt -> add r2, r0, r0 ; ditto
\*\*\*\* Error:Unable to mix instructions as specified
7 00F00000
Index: gas/testsuite/gas/d30v/serial2.l
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/d30v/serial2.l,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 serial2.l
*** gas/testsuite/gas/d30v/serial2.l 3 May 1999 07:28:48 -0000 1.1.1.1
--- gas/testsuite/gas/d30v/serial2.l 3 Mar 2005 12:31:14 -0000
*************** GAS LISTING .*
*** 26,37 ****
2
3 .text
4
! 5 \?\?\?\? 000000F0 bra -3 -> add r3,r0,0 ; Invalid
\*\*\*\* Error:Unable to mix instructions as specified
! 5 000000F0
! 5 000000F0
! 5 0000000B
! 5 FFFF00F0
6 \?\?\?\? 08083000 bsr -3 -> add r3,r0,0 ; Invalid
\*\*\*\* Error:Unable to mix instructions as specified
6 00F00000
--- 26,34 ----
2
3 .text
4
! 5 \?\?\?\? ........ bra -3 -> add r3,r0,0 ; Invalid
\*\*\*\* Error:Unable to mix instructions as specified
! 5 ........
6 \?\?\?\? 08083000 bsr -3 -> add r3,r0,0 ; Invalid
\*\*\*\* Error:Unable to mix instructions as specified
6 00F00000
*************** GAS LISTING .*
*** 79,91 ****
\*\*\*\* Error:Unable to mix instructions as specified
17 00F00000
17 000BFFFF
- GAS LISTING .*
-
-
17 00F00000
18 \?\?\?\? 10080001 bra/tx -3 -> bra 10 ; Valid
\*\*\*\* Error:Unable to mix instructions as specified
18 00F00000
18 100BFFFF
18 00F00000
19 \?\?\?\? 00080001 bra/tx -3 -> bra/fx 10 ; Valid
--- 76,88 ----
\*\*\*\* Error:Unable to mix instructions as specified
17 00F00000
17 000BFFFF
17 00F00000
18 \?\?\?\? 10080001 bra/tx -3 -> bra 10 ; Valid
\*\*\*\* Error:Unable to mix instructions as specified
18 00F00000
+ GAS LISTING .*
+
+
18 100BFFFF
18 00F00000
19 \?\?\?\? 00080001 bra/tx -3 -> bra/fx 10 ; Valid
Index: gas/testsuite/gas/d30v/serial2O.l
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/d30v/serial2O.l,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 serial2O.l
*** gas/testsuite/gas/d30v/serial2O.l 3 May 1999 07:28:49 -0000 1.1.1.1
--- gas/testsuite/gas/d30v/serial2O.l 3 Mar 2005 12:31:14 -0000
*************** GAS LISTING .*
*** 16,27 ****
2
3 .text
4
! 5 \?\?\?\? 000000F0 bra -3 -> add r3,r0,0 ; Invalid
\*\*\*\* Error:Unable to mix instructions as specified
! 5 000000F0
! 5 000000F0
! 5 0000000B
! 5 FFFF00F0
6 \?\?\?\? 08083000 bsr -3 -> add r3,r0,0 ; Invalid
\*\*\*\* Error:Unable to mix instructions as specified
6 00F00000
--- 16,24 ----
2
3 .text
4
! 5 \?\?\?\? ........ bra -3 -> add r3,r0,0 ; Invalid
\*\*\*\* Error:Unable to mix instructions as specified
! 5 ........
6 \?\?\?\? 08083000 bsr -3 -> add r3,r0,0 ; Invalid
\*\*\*\* Error:Unable to mix instructions as specified
6 00F00000
*************** GAS LISTING .*
*** 69,80 ****
\*\*\*\* Error:Unable to mix instructions as specified
21 00F00000
22 \?\?\?\? 00080001 bsr -3 -> bra/tx 10 ; Invalid
- GAS LISTING .*
-
-
\*\*\*\* Error:Unable to mix instructions as specified
22 00F00000
22 002BFFFF
22 00F00000
23 \?\?\?\? 10080001 bsr/tx -3 -> bra 10 ; Valid
23 00F00000
--- 66,77 ----
\*\*\*\* Error:Unable to mix instructions as specified
21 00F00000
22 \?\?\?\? 00080001 bsr -3 -> bra/tx 10 ; Invalid
\*\*\*\* Error:Unable to mix instructions as specified
22 00F00000
22 002BFFFF
+ GAS LISTING .*
+
+
22 00F00000
23 \?\?\?\? 10080001 bsr/tx -3 -> bra 10 ; Valid
23 00F00000