This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: Fix m68hc11 source-with-disassembly listing tests
- From: Nick Clifton <nickc at redhat dot com>
- To: Binutils <binutils at sourceware dot org>
- Date: Fri, 22 Feb 2008 15:33:10 +0000
- Subject: PATCH: Fix m68hc11 source-with-disassembly listing tests
Hi Guys,
I am going to apply the attached patch to update the m68hc11 gas tests
that intermix source code with disassembly. We are producing the source
information in a slightly different layout these days and the tests had
not been updated to match.
Cheers
Nick
gas/testsuite/ChangeLog
2008-02-22 Nick Clifton <nickc@redhat.com>
* gas/m68hc11/bug-1825.d: Update to match changes in the
information generated with source-in-disassembly listings.
* gas/m68hc11/indexed12.d: Likewise.
* gas/m68hc11/insns-dwarf2.d: Likewise.
* gas/m68hc11/lbranch-dwarf2.d: Likewise.
Index: gas/testsuite/gas/m68hc11/bug-1825.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/m68hc11/bug-1825.d,v
retrieving revision 1.3
diff -c -3 -p -r1.3 bug-1825.d
*** gas/testsuite/gas/m68hc11/bug-1825.d 5 Apr 2003 13:09:36 -0000 1.3
--- gas/testsuite/gas/m68hc11/bug-1825.d 22 Feb 2008 15:28:06 -0000
***************
*** 7,12 ****
--- 7,13 ----
Disassembly of section \.text:
0+ <_main>:
+ ;;; .*
;;;
\.sect \.text
\.globl _main
Index: gas/testsuite/gas/m68hc11/indexed12.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/m68hc11/indexed12.d,v
retrieving revision 1.1
diff -c -3 -p -r1.1 indexed12.d
*** gas/testsuite/gas/m68hc11/indexed12.d 1 Dec 2002 14:32:48 -0000 1.1
--- gas/testsuite/gas/m68hc11/indexed12.d 22 Feb 2008 15:28:06 -0000
***************
*** 8,13 ****
--- 8,14 ----
Disassembly of section .text:
0+ <_main>:
+ ;; with a 5, 9 and 16-bit offset.
;;
.sect .text
.globl _main
*************** _main:
*** 164,172 ****
ab: a7 nop
0+ac <L8>:
- L1:
- .dc.w 0xaabb
- L2:
L6:
.ds.b 8, 0xa7
L7:
--- 165,170 ----
Index: gas/testsuite/gas/m68hc11/insns-dwarf2.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/m68hc11/insns-dwarf2.d,v
retrieving revision 1.4
diff -c -3 -p -r1.4 insns-dwarf2.d
*** gas/testsuite/gas/m68hc11/insns-dwarf2.d 5 Apr 2003 12:54:00 -0000 1.4
--- gas/testsuite/gas/m68hc11/insns-dwarf2.d 22 Feb 2008 15:28:07 -0000
***************
*** 10,15 ****
--- 10,16 ----
Disassembly of section .text:
00000000 <_start>:
+ #...
.globl _start
.sect .text
*************** test:
*** 49,56 ****
00000017 <test2>:
- B_low = 12
- A_low = 44
D_low = 50
value = 23
--- 50,55 ----
Index: gas/testsuite/gas/m68hc11/lbranch-dwarf2.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/m68hc11/lbranch-dwarf2.d,v
retrieving revision 1.3
diff -c -3 -p -r1.3 lbranch-dwarf2.d
*** gas/testsuite/gas/m68hc11/lbranch-dwarf2.d 27 Oct 2003 10:01:51 -0000 1.3
--- gas/testsuite/gas/m68hc11/lbranch-dwarf2.d 22 Feb 2008 15:28:07 -0000
***************
*** 10,15 ****
--- 10,16 ----
Disassembly of section .text:
0+00 <_rcall>:
+ #...
.globl _rcall
.globl _start
_start:
Index: gas/testsuite/gas/m68hc11/opers12-dwarf2.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/m68hc11/opers12-dwarf2.d,v
retrieving revision 1.6
diff -c -3 -p -r1.6 opers12-dwarf2.d
*** gas/testsuite/gas/m68hc11/opers12-dwarf2.d 27 Oct 2003 10:01:51 -0000 1.6
--- gas/testsuite/gas/m68hc11/opers12-dwarf2.d 22 Feb 2008 15:28:07 -0000
***************
*** 8,13 ****
--- 8,14 ----
Disassembly of section .text:
0+00 <start>:
+ #...
sect .text
globl start