mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-27 03:54:29 +00:00
* gas/all/gas.exp (forward references): Don't test c30.
* gas/d30v/guard-debug.d: Use -gstabs rather than -g. * gas/elf/ehopt0.s: Don't use "$" in labels. * gas/ieee-fp/x930509a.exp: Don't test c30. * gas/m68hc11/malis.d: Adjust -I so that test runs when not building in source dir. * gas/mri/mri.exp: Don't run on "m68hc*". * gas/sh/basic.exp (do_fp): Match LE too. (pcrel-coff): Run this version for "sh*-pe*" and rename "sh*-hms" to "sh*-rtems". * gas/sh/pcrel-coff.d: Add -EB to objdump flags. * gas/vtable/vtable.exp: Don't run on linuxecoff. setup_xfail in preference to not running on ELF targets that might one day pass. Add more xfails. Add more targets to the REL list.
This commit is contained in:
parent
8e186fd66b
commit
8bda494670
@ -1,3 +1,20 @@
|
||||
2002-08-16 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* gas/all/gas.exp (forward references): Don't test c30.
|
||||
* gas/d30v/guard-debug.d: Use -gstabs rather than -g.
|
||||
* gas/elf/ehopt0.s: Don't use "$" in labels.
|
||||
* gas/ieee-fp/x930509a.exp: Don't test c30.
|
||||
* gas/m68hc11/malis.d: Adjust -I so that test runs when not building
|
||||
in source dir.
|
||||
* gas/mri/mri.exp: Don't run on "m68hc*".
|
||||
* gas/sh/basic.exp (do_fp): Match LE too.
|
||||
(pcrel-coff): Run this version for "sh*-pe*" and rename "sh*-hms" to
|
||||
"sh*-rtems".
|
||||
* gas/sh/pcrel-coff.d: Add -EB to objdump flags.
|
||||
* gas/vtable/vtable.exp: Don't run on linuxecoff. setup_xfail in
|
||||
preference to not running on ELF targets that might one day pass.
|
||||
Add more xfails. Add more targets to the REL list.
|
||||
|
||||
2002-08-14 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* gas/mips/elempic.d: Treat "addiu" and "daddiu" as equivalent
|
||||
|
@ -89,13 +89,12 @@ proc do_930509a {} {
|
||||
# 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 *c30*-*-*] && ![istarget *c54x*-*-*] } then {
|
||||
# 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
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#objdump: -ldr
|
||||
#name: D30V debug (-g) test
|
||||
#as: -g
|
||||
#as: -gstabs
|
||||
|
||||
.*: +file format elf32-d30v
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
.text
|
||||
$LFB1:
|
||||
LFB1:
|
||||
.4byte 0
|
||||
$L1:
|
||||
L1:
|
||||
.4byte 0
|
||||
$LFE1:
|
||||
LFE1:
|
||||
.section .eh_frame,"aw"
|
||||
__FRAME_BEGIN__:
|
||||
.4byte $LECIE1-$LSCIE1
|
||||
$LSCIE1:
|
||||
.4byte LECIE1-LSCIE1
|
||||
LSCIE1:
|
||||
.4byte 0x0
|
||||
.byte 0x1
|
||||
.ascii "z\0"
|
||||
@ -18,15 +18,15 @@ $LSCIE1:
|
||||
.byte 0x4
|
||||
.4byte 1
|
||||
.p2align 1
|
||||
$LECIE1:
|
||||
$LSFDE1:
|
||||
.4byte $LEFDE1-$LASFDE1
|
||||
$LASFDE1:
|
||||
.4byte $LASFDE1-__FRAME_BEGIN__
|
||||
.4byte $LFB1
|
||||
.4byte $LFE1-$LFB1
|
||||
LECIE1:
|
||||
LSFDE1:
|
||||
.4byte LEFDE1-LASFDE1
|
||||
LASFDE1:
|
||||
.4byte LASFDE1-__FRAME_BEGIN__
|
||||
.4byte LFB1
|
||||
.4byte LFE1-LFB1
|
||||
.byte 0x4
|
||||
.4byte $LFE1-$LFB1
|
||||
.4byte LFE1-LFB1
|
||||
.byte 0x4
|
||||
.4byte $L1-$LFB1
|
||||
$LEFDE1:
|
||||
.4byte L1-LFB1
|
||||
LEFDE1:
|
||||
|
@ -22,7 +22,7 @@ proc dotest {} {
|
||||
# C54x alignment/addressing is different, so the listing looks different
|
||||
# float encoding is tested in c54x-specific tests.
|
||||
# No floating point support in assembly code for CRIS.
|
||||
if { ![istarget vax*-*-*] && ![istarget *c54x*-*-*]
|
||||
if { ![istarget vax*-*-*] && ![istarget *c54x*-*-*] && ![istarget *c30*-*-*]
|
||||
&& ![istarget cris-*-*] && ![istarget arc*-*-*] } then {
|
||||
dotest
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
#objdump: -d --prefix-addresses
|
||||
#as: -m68hc11 --mri -I../testsuite/gas/m68hc11/
|
||||
#as: -m68hc11 --mri -I$srcdir/$subdir
|
||||
#name: Motorola Assembly Language Input Standard
|
||||
|
||||
# Test compliance with MALIS
|
||||
|
@ -21,7 +21,7 @@ run_dump_test comment
|
||||
gas_test "empty.s" "-M" "" "MRI empty macro"
|
||||
run_dump_test semi
|
||||
|
||||
if {[istarget "m6811-*-*"] || [istarget "m6812-*-*"]} {
|
||||
if {[istarget "m6811-*"] || [istarget "m6812-*"] || [istarget "m68hc*-*"]} {
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -70,6 +70,37 @@ proc do_fp {} {
|
||||
-re "^ +\[0-9\]+ 0038 4352\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 003a 036A\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 003c 4362\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 0000 08F0\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 0002 0AF0\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 0004 09F0\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 0006 0BF0\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 0008 06F0\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 000a 07F0\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 000c 0CF1\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 000e 8DF0\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 0010 9DF0\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 0012 00F1\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 0014 01F1\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 0016 02F1\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 0018 03F1\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 001a 0EF1\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 001c 04F1\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 001e 05F1\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 0020 4DF0\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 0022 5DF0\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 0024 6DF0\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 0026 2DF0\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 0028 3DF0\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 002a 0DF0\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 002c 1DF0\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 002e 5A43\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 0030 5643\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 0032 6A43\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 0034 6643\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 0036 5A03\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 0038 5243\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 003a 6A03\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "^ +\[0-9\]+ 003c 6243\[^\n\]*\n" { set x [expr $x+1] }
|
||||
-re "\[^\n\]*\n" { }
|
||||
timeout { perror "timeout\n"; break }
|
||||
eof { break }
|
||||
@ -91,7 +122,7 @@ if [istarget sh*-*-*] then {
|
||||
|
||||
# coff is missing information about the machine type, so everything is
|
||||
# dumped as sh4.
|
||||
if {[istarget sh*-*coff] || [istarget sh*-hms]} then {
|
||||
if {[istarget sh*-*coff] || [istarget sh*-pe*] || [istarget sh*-rtems]} then {
|
||||
run_dump_test "pcrel-coff"
|
||||
} else {
|
||||
# Test DSP instructions
|
||||
|
@ -1,5 +1,5 @@
|
||||
#as: -big
|
||||
#objdump: -d
|
||||
#objdump: -d -EB
|
||||
#name: PC-relative loads
|
||||
|
||||
.*: file format .*sh.*
|
||||
|
@ -17,35 +17,36 @@ proc run_list_test { name opts } {
|
||||
# Vtable bits are only supported by ELF targets.
|
||||
if { ( [istarget "*-*-elf*"] || [istarget "*-*-linux*"])
|
||||
&& ![istarget *-*-linux*aout*]
|
||||
&& ![istarget *-*-linux*ecoff*]
|
||||
&& ![istarget *-*-linux*oldld*] } then {
|
||||
|
||||
# These tests are not (yet) supported on some targets.
|
||||
if { [istarget "ia64-*"]
|
||||
|| [istarget "hppa*64*-*-*"]
|
||||
|| [istarget "i960-*-*"]
|
||||
|| [istarget "arc*-*-*"]
|
||||
|| [istarget "alpha*-*-*"]
|
||||
|| [istarget "sparc64*-*-*"]
|
||||
|| [istarget "h8300*-*-*"]
|
||||
|| [istarget "d30v-*-*"] } then {
|
||||
return
|
||||
}
|
||||
setup_xfail "alpha*-*" "arc-*" "avr-*" "d30v-*"
|
||||
setup_xfail "h8300*-*" "hppa*64*-*-*hpux*"
|
||||
setup_xfail "i370-*" "i960-*" "ia64-*" "ip2k-*"
|
||||
setup_xfail "mn10200-*" "or32-*" "sparc64*-*"
|
||||
run_dump_test "inherit0"
|
||||
|
||||
# not yet supported by ARC
|
||||
if {[istarget "arc*-*-*"]} {
|
||||
return
|
||||
}
|
||||
|
||||
run_dump_test "inherit0"
|
||||
# This particular test is supposed to fail..
|
||||
run_list_test "inherit1" "-al"
|
||||
|
||||
setup_xfail "alpha*-*" "arc-*" "avr-*" "d30v-*"
|
||||
setup_xfail "h8300*-*" "hppa*64*-*-*hpux*"
|
||||
setup_xfail "i370-*" "i960-*" "ia64-*" "ip2k-*"
|
||||
setup_xfail "mn10200-*" "or32-*" "sparc64*-*"
|
||||
|
||||
# The vtable entry results are different on Rel and Rela targets.
|
||||
if {[istarget "i*86-*-*"]
|
||||
|| [istarget "d10v-*-*"]
|
||||
|| [istarget "mips*-*-*"]
|
||||
|| [istarget "strongarm*-*-*"]
|
||||
|| [istarget "xscale*-*-*"]
|
||||
|| [istarget "arm*-*-*"] } then {
|
||||
if {[istarget "arm*-*"]
|
||||
|| [istarget "arc-*"]
|
||||
|| [istarget "d10v-*"]
|
||||
|| [istarget "dlx-*"]
|
||||
|| [istarget "i*86-*"]
|
||||
|| [istarget "m32r-*"]
|
||||
|| [istarget "mips*-*"]
|
||||
|| [istarget "m68hc*-*"]
|
||||
|| [istarget "or32-*"]
|
||||
|| [istarget "strongarm*-*"]
|
||||
|| [istarget "xscale*-*"] } then {
|
||||
|
||||
run_dump_test "entry0"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user