aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-07-13 16:17:28 +0000
committerNick Clifton <nickc@redhat.com>2004-07-13 16:17:28 +0000
commit384d2d1cdb559ceba7244c3cd95d2faf93d9778c (patch)
treebcdc538c47329dfd90337a5451c902205e504611 /gas
parent7866fa8c5e3b02345d0fe2402f53edb183d01a29 (diff)
downloadgdb-384d2d1cdb559ceba7244c3cd95d2faf93d9778c.zip
gdb-384d2d1cdb559ceba7244c3cd95d2faf93d9778c.tar.gz
gdb-384d2d1cdb559ceba7244c3cd95d2faf93d9778c.tar.bz2
Delete vtable tests
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/vtable/entry0.d10
-rw-r--r--gas/testsuite/gas/vtable/entry0.s2
-rw-r--r--gas/testsuite/gas/vtable/entry1.d10
-rw-r--r--gas/testsuite/gas/vtable/entry1.s2
-rw-r--r--gas/testsuite/gas/vtable/inherit0.d10
-rw-r--r--gas/testsuite/gas/vtable/inherit0.s13
-rw-r--r--gas/testsuite/gas/vtable/inherit1.l6
-rw-r--r--gas/testsuite/gas/vtable/inherit1.s1
-rw-r--r--gas/testsuite/gas/vtable/vtable.exp59
10 files changed, 5 insertions, 113 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index bde9ac3..880a52a 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -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
index ee0bb99..0000000
--- 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 878c44c..0000000
--- 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 7fa6e4b..0000000
--- 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 878c44c..0000000
--- 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 62795b1..0000000
--- 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 67fad70..0000000
--- 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 bdd6358..0000000
--- 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 46f2b09..0000000
--- 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 cb74b7a..0000000
--- 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"
-
- }
-}