diff options
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/xtensa/all.exp | 16 | ||||
-rw-r--r-- | gas/testsuite/gas/xtensa/entry_misalign2.s | 4 |
3 files changed, 11 insertions, 16 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 9351813..f171ef9 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2004-10-07 Bob Wilson <bob.wilson@acm.org> + + * gas/xtensa/all.exp: Adjust expected error message for j_too_far. + Change entry_align test to expect an error. + * gas/xtensa/entry_misalign2.s: Use no-transform instead of + no-generics directives. + 2004-10-07 Richard Sandiford <rsandifo@redhat.com> * gas/mips/elf-rel{23,24}.[sd]: New tests. diff --git a/gas/testsuite/gas/xtensa/all.exp b/gas/testsuite/gas/xtensa/all.exp index e01c4a3..2077301 100644 --- a/gas/testsuite/gas/xtensa/all.exp +++ b/gas/testsuite/gas/xtensa/all.exp @@ -9,7 +9,7 @@ if [istarget xtensa*-*-*] then { set x1 0 while 1 { expect { - -re ":4: Error:.*too large" { set x1 1 } + -re ":4: Error:.*out of range" { set x1 1 } timeout { perror "timeout\n"; break } eof { break } } @@ -47,19 +47,7 @@ if [istarget xtensa*-*-*] then { objdump_finish if [all_ones $x1] then { pass $testname } else { fail $testname } - gas_test "entry_align.s" "" "" "Xtensa autoalign entry" - set testname "entry_align.s: autoalign entry" - objdump_start_no_subdir "a.out" "-d -j .text" - set x1 0 - while 1 { - expect { - -re "^.*4:.*entry" { set x1 1 } - timeout { perror "timeout\n"; break } - eof { break } - } - } - objdump_finish - if [all_ones $x1] then { pass $testname } else { fail $testname } + gas_test_error "entry_align.s" "" "Xtensa entry alignment error" gas_test "loop_misalign.s" "" "" "Xtensa Loop misalignment" set testname "loop_misalign.s: Force loop misalignment" diff --git a/gas/testsuite/gas/xtensa/entry_misalign2.s b/gas/testsuite/gas/xtensa/entry_misalign2.s index 5d48b6c..5a57815 100644 --- a/gas/testsuite/gas/xtensa/entry_misalign2.s +++ b/gas/testsuite/gas/xtensa/entry_misalign2.s @@ -1,6 +1,6 @@ - .begin no-generics + .begin no-transform nop.n l4: entry a5,16 mov.n a4,a5 - .end no-generics + .end no-transform |