* 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 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.
run_dump_test "am33-2"
run_dump_test "relax"
+ run_dump_test "pr11931"
}
--- /dev/null
+#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
--- /dev/null
+ .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