941014-1.x: thumb-elf was deprecated, use -mthumb.

* gcc.c-torture/execute/941014-1.x: thumb-elf was deprecated, use
	-mthumb.  Only xfail with -O0.

From-SVN: r58809
This commit is contained in:
Adam Nemet 2002-11-05 05:41:39 +00:00 committed by Adam Nemet
parent 1c9c903e4d
commit 9e96797f31
2 changed files with 18 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2002-11-04 Adam Nemet <anemet@lnxw.com>
* gcc.c-torture/execute/941014-1.x: thumb-elf was deprecated, use
-mthumb. Only xfail with -O0.
2002-11-03 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/thunk1.C: New test.

View File

@ -1,6 +1,16 @@
# This doesn't work for thumb-elf
# This doesn't always work for Thumb.
if { [istarget "thumb-*-elf"] } {
set torture_execute_xfail "thumb-*-elf"
if { [istarget arm*-*-*] || [istarget xscale*-*-*] \
|| [istarget strongarm*-*-*] } {
set torture_eval_before_execute {
global compiler_conditional_xfail_data
set compiler_conditional_xfail_data {
"Thumb sets the last bit of function relocations" \
{ "arm*-*-*" "xscale*-*-*" "strongarm*-*-*" } \
{ { "-mthumb" "-O0" } } \
{ "" }
}
}
}
return 0