PR gas/11931

* gas/mn10300/pr11931.s: New file: Test case.
        * gas/mn10300/pr11931.d: New file: Expected output.
        * gas/mn10300/basic.exp: Run the new test.
This commit is contained in:
Nick Clifton 2010-09-09 10:37:48 +00:00
parent b7807392f0
commit 6815ee43d5
4 changed files with 38 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2010-09-09 Nick Clifton <nickc@redhat.com>
PR gas/11931
* gas/mn10300/pr11931.s: New file: Test case.
* gas/mn10300/pr11931.d: New file: Expected output.
* gas/mn10300/basic.exp: Run the new test.
2010-09-09 Tejas Belagod <tejas.belagod@arm.com>
* gas/arm/addsw-bad.s: New file.

View File

@ -1806,4 +1806,5 @@ if [istarget mn10300*-*-*] then {
run_dump_test "am33-2"
run_dump_test "relax"
run_dump_test "pr11931"
}

View File

@ -0,0 +1,13 @@
#objdump: -dr --prefix-address --show-raw-insn
#name: PR11973
.*: +file format.*elf32-[am3|mn10300].*
Disassembly of section .text:
#...
0+0100.*
0+0103 <SomeProc_40000100\+0x3> dd 00 00 00 00 80 04[ ]+call.*
#...
0+0200.*
0+0203 <SomeProc_40000200\+0x3> dd 00 00 00 00 80 04[ ]+call.*
#pass

View File

@ -0,0 +1,17 @@
.org 0x00000000
_baseAddress:
.equ _base40,_baseAddress
.equ _base7B,_baseAddress+0x3B000000
.equ sub_7BC01234,_base7B+0xC01234
.org 0x00000100
SomeProc_40000100:
mov 0x123, D0
call sub_7BC01234, [D2], 0x04
.org 0x00000200
SomeProc_40000200:
mov 0x123, D0
call sub_7BC01234, [D2], 0x04
call SomeProc_40000100, [D2], 0x04