diff options
author | Daniel Jacobowitz <drow@false.org> | 2004-01-23 16:29:25 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2004-01-23 16:29:25 +0000 |
commit | 34cc4ecc82991f61e55c2625d32115d865575310 (patch) | |
tree | a5ffdae7fcf661c60e445ccf18e15f844d005c53 | |
parent | e864cecab061881b8225410b540cfa076695f50d (diff) | |
download | gdb-34cc4ecc82991f61e55c2625d32115d865575310.zip gdb-34cc4ecc82991f61e55c2625d32115d865575310.tar.gz gdb-34cc4ecc82991f61e55c2625d32115d865575310.tar.bz2 |
* gas/arm/arm.exp: Add "undefined" test.
* gas/arm/undefined.s, gas/arm/undefined.l: New files.
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/arm.exp | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/undefined.l | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/undefined.s | 1 |
4 files changed, 10 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index db61700..ef4e62b 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -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. diff --git a/gas/testsuite/gas/arm/arm.exp b/gas/testsuite/gas/arm/arm.exp index 9816497..e5ec8be 100644 --- a/gas/testsuite/gas/arm/arm.exp +++ b/gas/testsuite/gas/arm/arm.exp @@ -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 diff --git a/gas/testsuite/gas/arm/undefined.l b/gas/testsuite/gas/arm/undefined.l new file mode 100644 index 0000000..89cfa04 --- /dev/null +++ b/gas/testsuite/gas/arm/undefined.l @@ -0,0 +1,2 @@ +[^:]*: Assembler messages: +[^:]*:1: Error: undefined local label `\.Lval' diff --git a/gas/testsuite/gas/arm/undefined.s b/gas/testsuite/gas/arm/undefined.s new file mode 100644 index 0000000..f7b76d7 --- /dev/null +++ b/gas/testsuite/gas/arm/undefined.s @@ -0,0 +1 @@ + ldr a1, .Lval |