Delete vtable tests
authorNick Clifton <nickc@redhat.com>
Tue, 13 Jul 2004 16:17:28 +0000 (16:17 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 13 Jul 2004 16:17:28 +0000 (16:17 +0000)
gas/testsuite/ChangeLog
gas/testsuite/gas/vtable/entry0.d [deleted file]
gas/testsuite/gas/vtable/entry0.s [deleted file]
gas/testsuite/gas/vtable/entry1.d [deleted file]
gas/testsuite/gas/vtable/entry1.s [deleted file]
gas/testsuite/gas/vtable/inherit0.d [deleted file]
gas/testsuite/gas/vtable/inherit0.s [deleted file]
gas/testsuite/gas/vtable/inherit1.l [deleted file]
gas/testsuite/gas/vtable/inherit1.s [deleted file]
gas/testsuite/gas/vtable/vtable.exp [deleted file]

index bde9ac3..880a52a 100644 (file)
@@ -1,3 +1,8 @@
+2004-07-13  Nick Clifton  <nickc@redhat.com>
+
+       * gas/vtable: Delete directory.  These tests are no longer needed
+       as the VTABLE_ reloc support is obsolete.
+
 2004-07-08  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
 
        * 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 (file)
index ee0bb99..0000000
+++ /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 (file)
index 878c44c..0000000
+++ /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 (file)
index 7fa6e4b..0000000
+++ /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 (file)
index 878c44c..0000000
+++ /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 (file)
index 62795b1..0000000
+++ /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 (file)
index 67fad70..0000000
+++ /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 (file)
index bdd6358..0000000
+++ /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 (file)
index 46f2b09..0000000
+++ /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 (file)
index cb74b7a..0000000
+++ /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"
-
-    }
-}