* gas/arm/arm.exp: Add "undefined" test.

* gas/arm/undefined.s, gas/arm/undefined.l: New files.
This commit is contained in:
Daniel Jacobowitz 2004-01-23 16:29:25 +00:00
parent e864cecab0
commit 34cc4ecc82
4 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-01-23 Daniel Jacobowitz <drow@mvista.com>
* gas/arm/arm.exp: Add "undefined" test.
* gas/arm/undefined.s, gas/arm/undefined.l: New files.
2004-01-23 Richard Sandiford <rsandifo@redhat.com>
* gas/mips/macro-warn-[1234].[sdl]: New tests.

View File

@ -86,6 +86,8 @@ if {[istarget *arm*-*-*] || [istarget "xscale-*-*"]} then {
}
gas_test "offset.s" "" $stdoptlist "OFFSET_IMM regression"
run_errors_test "undefined" "" "Undefined local label error"
}
# Not all arm targets are bi-endian, so only run this test on ones

View File

@ -0,0 +1,2 @@
[^:]*: Assembler messages:
[^:]*:1: Error: undefined local label `\.Lval'

View File

@ -0,0 +1 @@
ldr a1, .Lval