projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altmacro.[sd]: Split out part from here...
[deliverable/binutils-gdb.git]
/
gas
/
testsuite
/
gas
/
all
/
gas.exp
diff --git
a/gas/testsuite/gas/all/gas.exp
b/gas/testsuite/gas/all/gas.exp
index 87d3bac166cf2bcf1a7a6be2ac9af369e7b6fc47..c6267a87dc2262905b6b3f0a5ad4743f38f4bab8 100644
(file)
--- a/
gas/testsuite/gas/all/gas.exp
+++ b/
gas/testsuite/gas/all/gas.exp
@@
-85,17
+85,19
@@
proc do_930509a {} {
if !$x then { fail $testname }
}
if !$x then { fail $testname }
}
-# This test is meaningless for the PA; the difference of two symbols
+# This test is meaningless for the PA
and CRX
; the difference of two symbols
# must not be resolved by the assembler.
# C54x assembler (for compatibility) does not allow differences between
# forward references
# must not be resolved by the assembler.
# C54x assembler (for compatibility) does not allow differences between
# forward references
-if { ![istarget hppa*-*-*] && ![istarget *c54x*-*-*] } then {
+# C30 counts a four byte offset as a difference of one.
+if { ![istarget hppa*-*-*] &&
+ ![istarget crx*-*-*] &&
+ ![istarget *c30*-*-*] &&
+ ![istarget *c4x*-*-*] &&
+ ![istarget *c54x*-*-*] } then {
# the vax fails because VMS can apparently actually handle this
# case in relocs, so gas doesn't handle it itself.
# the vax fails because VMS can apparently actually handle this
# case in relocs, so gas doesn't handle it itself.
- setup_xfail "vax*-*-vms*"
- setup_xfail "mn10300*-*-*"
- setup_xfail "mn10200*-*-*"
- setup_xfail "h8300*-*-elf*"
+ setup_xfail "h8300*-*-elf*" "mn10200*-*-*" "mn10300*-*-*" "vax*-*-vms*"
do_930509a
}
do_930509a
}
@@
-103,10
+105,31
@@
if { ![istarget hppa*-*-*] && ![istarget *c54x*-*-*] } then {
# These directives are done in the c54x-specific tests instead
case $target_triplet in {
{ hppa*-*-* } { }
# These directives are done in the c54x-specific tests instead
case $target_triplet in {
{ hppa*-*-* } { }
+ { *c4x*-*-* } { }
{ *c54x*-*-* } { }
default {
run_dump_test struct
run_dump_test align
{ *c54x*-*-* } { }
default {
run_dump_test struct
run_dump_test align
+ run_dump_test align2
+ }
+}
+
+# '<' and '>' appear to have special meanings on the excluded targets
+case $target_triplet in {
+ { a29k-*-* } { }
+ { frv-*-* } { }
+ { hppa*-*-* } { }
+ { m32r-*-* } { }
+ { mmix-*-* } { }
+ { *c4x*-*-* } { }
+ { *c54x*-*-* } { }
+ default {
+ run_dump_test altmacro
+ # The second test is valid only when '!' is not a comment
+ # character (it is allowed to be a line comment character).
+ if { [lindex [gas_run excl.s "-o /dev/null" ""] 0] eq "" } {
+ run_dump_test altmac2
+ }
}
}
}
}
@@
-115,7
+138,7
@@
case $target_triplet in {
# We omit the ARM toolchains because they define locals to
# start with '.', which eliminates .eos, .text etc from the output.
# Omit c54x, since .tag and .def mean something different on that target
# We omit the ARM toolchains because they define locals to
# start with '.', which eliminates .eos, .text etc from the output.
# Omit c54x, since .tag and .def mean something different on that target
-if { ([istarget *-*-coff*] && ![istarget m88*-*-*] && ![istarget *arm*-*-coff] && ![istarget thumb*-*-coff] && ![istarget *c54x*-*-coff]) \
+if { ([istarget *-*-coff*] && ![istarget m88*-*-*] && ![istarget *arm*-*-coff] && ![istarget thumb*-*-coff] && ![istarget
xscale-*-coff] && ![istarget *c4x*-*-coff] && ![istarget
*c54x*-*-coff]) \
||([istarget *-*-pe*] && ![istarget arm*-*-pe*] && ![istarget thumb*-*-pe*]) \
|| [istarget a29k-*-udi*] \
|| [istarget a29k-*-ebmon*] \
||([istarget *-*-pe*] && ![istarget arm*-*-pe*] && ![istarget thumb*-*-pe*]) \
|| [istarget a29k-*-udi*] \
|| [istarget a29k-*-ebmon*] \
@@
-152,14
+175,22
@@
proc test_cond {} {
}
}
}
}
+# This test is not suitable for the PA for various reasons
+# not limited to the fact that it depends on specific section
+# names appearing in the output file.
# again, p2align doesn't work on c54x target
# again, p2align doesn't work on c54x target
-if ![istarget *c54x*-*-*] then {
- test_cond
- run_dump_test incbin
+case $target_triplet in {
+ { hppa*-*-* } { }
+ { *c4x*-*-* } { }
+ { *c54x*-*-* } { }
+ default {
+ test_cond
+ run_dump_test incbin
+ }
}
}
-# FIXME: this is here cause of a bug in DejaGnu 1.1.1. When it is no longer
-# in use, then this can be removed.
-
if [info exists errorInfo] then
{
- unset errorInfo
+if { [istarget "i*86-*-*pe*"] \
+ || [istarget "i*86-*-cygwin*"] \
+
|| [istarget "i*86-*-mingw32*"] }
{
+ gas_test "fastcall.s" "" "" "fastcall labels"
}
}
This page took
0.02479 seconds
and
4
git commands to generate.