* gas/m68hc11/abi.s: New test for abi elf flags.
* gas/m68hc11/abi-m68hc11-32-64.d: Test for 32-bit int, 64-bit float.
* gas/m68hc11/abi-m68hc11-16-64.d: Test for 16-bit int, 64-bit float.
* gas/m68hc11/abi-m68hc11-32-32.d: Test for 32-bit int, 32-bit float.
* gas/m68hc11/abi-m68hc11-16-32.d: Test for 16-bit int, 32-bit float.
+2003-07-23 Stephane Carrez <stcarrez@nerim.fr>
+
+ * gas/m68hc11/m68hc11.exp: Execute the new tests.
+ * gas/m68hc11/abi.s: New test for abi elf flags.
+ * gas/m68hc11/abi-m68hc11-32-64.d: Test for 32-bit int, 64-bit float.
+ * gas/m68hc11/abi-m68hc11-16-64.d: Test for 16-bit int, 64-bit float.
+ * gas/m68hc11/abi-m68hc11-32-32.d: Test for 32-bit int, 32-bit float.
+ * gas/m68hc11/abi-m68hc11-16-32.d: Test for 16-bit int, 32-bit float.
+
2003-07-15 Richard Sandiford <rsandifo@redhat.com>
* gas/mips/rm7000.[sd]: New test.
--- /dev/null
+#objdump: -p
+#as: -m68hc11 -mshort-double
+#name: Elf flags 68HC11 16-bit int, 32-bit double
+#source: abi.s
+
+.*: +file format elf32\-m68hc11
+private flags = 0:\[abi=16-bit int, 32-bit double, cpu=HC11\] \[memory=flat\]
--- /dev/null
+#objdump: -p
+#as: -m68hc11
+#name: Elf flags 68HC11 16-bit int, 64-bit double
+#source: abi.s
+
+.*: +file format elf32\-m68hc11
+private flags = 2:\[abi=16-bit int, 64-bit double, cpu=HC11\] \[memory=flat\]
--- /dev/null
+#objdump: -p
+#as: -m68hc11 -mlong -mshort-double
+#name: Elf flags 68HC11 32-bit int, 32-bit double
+#source: abi.s
+
+.*: +file format elf32\-m68hc11
+private flags = 1:\[abi=32-bit int, 32-bit double, cpu=HC11\] \[memory=flat\]
--- /dev/null
+#objdump: -p
+#as: -m68hc11 -mlong
+#name: Elf flags 68HC11 32-bit int, 64-bit double
+#source: abi.s
+
+.*: +file format elf32\-m68hc11
+private flags = 3:\[abi=32-bit int, 64-bit double, cpu=HC11\] \[memory=flat\]
--- /dev/null
+ .sect .text
+ .globl L1
+L1:
+ rts
gas_m68hc11_opcode_list "-m68hc11" 149
gas_m68hc11_opcode_list "-m68hc12" 192
+gas_m68hc11_opcode_list "-m68hcs12" 192
# Test for a message produced when assembling a file
gas_m68hc11_error "-m68hc12" "movb 2,x,300,y\n" \
"Offset out of 5-bit range for movw/movb insn: 300"
+setup_xfail m6811-*-*
+setup_xfail m6812-*-*
+gas_m68hc11_error "-m68hc12" "movb 2,x,bar,y\nbar=300\n" \
+ "Offset out of 5-bit range for movw/movb insn: 300"
+
# ------------------
# Specific commands
gas_m68hc11_warning "" ".mode \"bar\"\n" "Invalid mode: .bar."
run_dump_test all_insns
run_dump_test insns-dwarf2
run_dump_test lbranch-dwarf2
+run_dump_test abi-m68hc11-16-64
+run_dump_test abi-m68hc11-16-32
+run_dump_test abi-m68hc11-32-64
# Compliance with Motorola Assembly Language Input Standard
run_dump_test malis