From: Nick Clifton Date: Tue, 13 Jul 2004 16:17:28 +0000 (+0000) Subject: Delete vtable tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=384d2d1cdb559ceba7244c3cd95d2faf93d9778c;p=binutils-gdb.git Delete vtable tests --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index bde9ac3f2ab..880a52ac697 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-07-13 Nick Clifton + + * gas/vtable: Delete directory. These tests are no longer needed + as the VTABLE_ reloc support is obsolete. + 2004-07-08 Kazuhiro Inaoka * gas/m32r/pic.exp: Add New Test case for @GOTOFF, @GOT, @PLT. diff --git a/gas/testsuite/gas/vtable/entry0.d b/gas/testsuite/gas/vtable/entry0.d deleted file mode 100644 index ee0bb990276..00000000000 --- a/gas/testsuite/gas/vtable/entry0.d +++ /dev/null @@ -1,10 +0,0 @@ -#objdump: -r -#name: vtable entry0 - -.*: +file format .* - -RELOCATION RECORDS FOR \[.text\]: -OFFSET +TYPE +VALUE -0+0000010 R_.*_GNU_VTENTRY vtbl_a - - diff --git a/gas/testsuite/gas/vtable/entry0.s b/gas/testsuite/gas/vtable/entry0.s deleted file mode 100644 index 878c44c0060..00000000000 --- a/gas/testsuite/gas/vtable/entry0.s +++ /dev/null @@ -1,2 +0,0 @@ - .text - .vtable_entry vtbl_a, 16 diff --git a/gas/testsuite/gas/vtable/entry1.d b/gas/testsuite/gas/vtable/entry1.d deleted file mode 100644 index 7fa6e4b743d..00000000000 --- a/gas/testsuite/gas/vtable/entry1.d +++ /dev/null @@ -1,10 +0,0 @@ -#objdump: -r -#name: vtable entry1 - -.*: +file format .* - -RELOCATION RECORDS FOR \[.text\]: -OFFSET +TYPE +VALUE -0+0000000 R_.*_GNU_VTENTRY vtbl_a.* - - diff --git a/gas/testsuite/gas/vtable/entry1.s b/gas/testsuite/gas/vtable/entry1.s deleted file mode 100644 index 878c44c0060..00000000000 --- a/gas/testsuite/gas/vtable/entry1.s +++ /dev/null @@ -1,2 +0,0 @@ - .text - .vtable_entry vtbl_a, 16 diff --git a/gas/testsuite/gas/vtable/inherit0.d b/gas/testsuite/gas/vtable/inherit0.d deleted file mode 100644 index 62795b1ac1e..00000000000 --- a/gas/testsuite/gas/vtable/inherit0.d +++ /dev/null @@ -1,10 +0,0 @@ -#objdump: -r -#name: vtable inherit0 - -.*: +file format .* - -RELOCATION RECORDS FOR \[.data\]: -OFFSET +TYPE +VALUE -0+0000000 R_.*_GNU_VTINHERIT \*ABS\* -0+0000010 R_.*_GNU_VTINHERIT vtbl_a - diff --git a/gas/testsuite/gas/vtable/inherit0.s b/gas/testsuite/gas/vtable/inherit0.s deleted file mode 100644 index 67fad709e70..00000000000 --- a/gas/testsuite/gas/vtable/inherit0.s +++ /dev/null @@ -1,13 +0,0 @@ - .data - - .type vtbl_a,object -vtbl_a: - .space 16 - .size vtbl_a,16 - .vtable_inherit vtbl_a, 0 - - .type vtbl_b,object -vtbl_b: - .space 16 - .size vtbl_b,16 - .vtable_inherit vtbl_b, vtbl_a diff --git a/gas/testsuite/gas/vtable/inherit1.l b/gas/testsuite/gas/vtable/inherit1.l deleted file mode 100644 index bdd63583458..00000000000 --- a/gas/testsuite/gas/vtable/inherit1.l +++ /dev/null @@ -1,6 +0,0 @@ -.*: Assembler messages: -.*:1: Error: expected `vtbl_a' to have already been set for .vtable_inherit -.*GAS.* - - - +1.*vtable_inherit vtbl_a, 0 diff --git a/gas/testsuite/gas/vtable/inherit1.s b/gas/testsuite/gas/vtable/inherit1.s deleted file mode 100644 index 46f2b092fe9..00000000000 --- a/gas/testsuite/gas/vtable/inherit1.s +++ /dev/null @@ -1 +0,0 @@ - .vtable_inherit vtbl_a, 0 diff --git a/gas/testsuite/gas/vtable/vtable.exp b/gas/testsuite/gas/vtable/vtable.exp deleted file mode 100644 index cb74b7a7c60..00000000000 --- a/gas/testsuite/gas/vtable/vtable.exp +++ /dev/null @@ -1,59 +0,0 @@ -# -# vtable tests -# -proc run_list_test { name opts } { - global srcdir subdir - set testname "vtable $name" - set file $srcdir/$subdir/$name - gas_run ${name}.s $opts ">&dump.out" - if { [regexp_diff "dump.out" "${file}.l"] } then { - fail $testname - verbose "output is [file_contents "dump.out"]" 2 - return - } - pass $testname -} - -# These tests are not (yet) supported on some targets. -proc vtable_setup_xfails { } { - setup_xfail "alpha*-*" "arc-*" "avr-*" "d30v-*" - setup_xfail "h8300*-*" "hppa*64*-*-*hpux*" - setup_xfail "i370-*" "i860-*" "i960-*" "ia64-*" "ip2k-*" - setup_xfail "mn10200-*" "or32-*" "sparc64*-*" -} - -# Vtable bits are only supported by ELF targets. -if { ( [istarget "*-*-elf*"] || [istarget "*-*-linux*"]) - && ![istarget *-*-linux*aout*] - && ![istarget *-*-linux*ecoff*] - && ![istarget *-*-linux*oldld*] } then { - - vtable_setup_xfails - run_dump_test "inherit0" - - # This particular test is supposed to fail.. - run_list_test "inherit1" "-al" - - # The vtable entry results are different on Rel and Rela targets. - vtable_setup_xfails - if {[istarget "arm*-*"] - || [istarget "arc-*"] - || [istarget "d10v-*"] - || [istarget "dlx-*"] - || [istarget "i*86-*"] - || ([istarget "mips*-*"] - && ! [istarget "mips64*-*-linux*"] - && ! [istarget "mips*-*-irix6*"]) - || [istarget "m68hc*-*"] - || [istarget "or32-*"] - || [istarget "strongarm*-*"] - || [istarget "xscale*-*"] } then { - - run_dump_test "entry0" - - } else { - - run_dump_test "entry1" - - } -}