aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-12-23 17:43:21 +1030
committerAlan Modra <amodra@gmail.com>2023-01-02 14:03:22 +1030
commit3002e78a7d3dba2cf2776cebfd5f2a9e53071b3e (patch)
tree63a1b394aac8e6785ce103500e119fb2fcc19830 /ld/testsuite/ld-scripts
parente2a3b3256f5c9da1f9731d24d3d32da6c9719b99 (diff)
downloadgdb-3002e78a7d3dba2cf2776cebfd5f2a9e53071b3e.zip
gdb-3002e78a7d3dba2cf2776cebfd5f2a9e53071b3e.tar.gz
gdb-3002e78a7d3dba2cf2776cebfd5f2a9e53071b3e.tar.bz2
obsolete target tidy
Delete a few files only used for obsolete targets, and tidy config, xfails and other pieces of support specific to those targets. And since I was editing target triplets in test files, fix the nm alpha-linuxecoff fails.
Diffstat (limited to 'ld/testsuite/ld-scripts')
-rw-r--r--ld/testsuite/ld-scripts/expr2.d2
-rw-r--r--ld/testsuite/ld-scripts/fill.d3
-rw-r--r--ld/testsuite/ld-scripts/fill16.d6
-rw-r--r--ld/testsuite/ld-scripts/phdrs2.exp1
-rw-r--r--ld/testsuite/ld-scripts/segment-start.d2
5 files changed, 5 insertions, 9 deletions
diff --git a/ld/testsuite/ld-scripts/expr2.d b/ld/testsuite/ld-scripts/expr2.d
index 94fb5d3..d1dac5d 100644
--- a/ld/testsuite/ld-scripts/expr2.d
+++ b/ld/testsuite/ld-scripts/expr2.d
@@ -1,6 +1,6 @@
# ld: -T expr2.t
#nm: -B
-#xfail: arm-*-*aout [is_xcoff_format]
+#xfail: [is_xcoff_format]
#...
.* D defined
diff --git a/ld/testsuite/ld-scripts/fill.d b/ld/testsuite/ld-scripts/fill.d
index cfe1e52..a341e78 100644
--- a/ld/testsuite/ld-scripts/fill.d
+++ b/ld/testsuite/ld-scripts/fill.d
@@ -7,7 +7,7 @@
#skip: ia64-*-* mips*-*-freebsd* mips*-*-gnu* mips*-*-irix* mips*-*-kfreebsd*
#skip: mips*-*-linux* mips*-*-netbsd* mips*-*-openbsd* mips*-*-sysv4* sh-*-pe
#skip: tilegx*-*-* tilepro-*-* x86_64-*-cygwin x86_64-*-mingw* x86_64-*-pe*
-#xfail: alpha*-*-*ecoff sparc*-*-coff
+#xfail: alpha*-*-*ecoff
#xfail: tic30-*-coff tic4x-*-* tic54x-*-* z8k-*-*
#
# See also fill16.d. We use `skip' for configurations unsupported
@@ -19,7 +19,6 @@
# ia64 aligns code to minimum 16 bytes.
# mips aligns to minimum 16 bytes (except for bare-metal ELF and VxWorks).
# sh-pe pads out code sections to 16 bytes
-# sparc-coff aligns to 8 bytes
# tic30-coff aligns to 2 bytes
# tic4x has 4 octet bytes
# tic54x doesn't support .p2align
diff --git a/ld/testsuite/ld-scripts/fill16.d b/ld/testsuite/ld-scripts/fill16.d
index e5819df..8df7c81 100644
--- a/ld/testsuite/ld-scripts/fill16.d
+++ b/ld/testsuite/ld-scripts/fill16.d
@@ -4,8 +4,8 @@
#ld: -T fill.t
#objdump: -s -j .text
#notarget: [is_aout_format]
-#skip: arm-*-coff i[3-7]86-*-coff [is_xcoff_format]
-#xfail: alpha*-*-*ecoff sparc*-*-coff
+#skip: [is_xcoff_format]
+#xfail: alpha*-*-*ecoff
#xfail: tic30-*-coff tic4x-*-* tic54x-*-* z8k-*-*
#xfail: z80-*-coff
#
@@ -17,8 +17,6 @@
# alpha-linuxecoff pads out code to 16 bytes.
# arm-coff always aligns code to 4 bytes.
# i386-coff always aligns code to 4 bytes.
-# sh-pe pads out code sections to 16 bytes
-# sparc-coff aligns to 8 bytes
# tic30-coff aligns to 2 bytes
# tic4x has 4 octet bytes
# tic54x doesn't support .p2align
diff --git a/ld/testsuite/ld-scripts/phdrs2.exp b/ld/testsuite/ld-scripts/phdrs2.exp
index ea93d47..504c927 100644
--- a/ld/testsuite/ld-scripts/phdrs2.exp
+++ b/ld/testsuite/ld-scripts/phdrs2.exp
@@ -20,7 +20,6 @@
# PHDRS2 is only meaningful for ELF.
if { !([istarget *-*-sysv4*]
- || [istarget *-*-unixware*]
|| [istarget *-*-elf*]
|| [istarget *-*-eabi*]
|| [istarget hppa*64*-*-hpux*]
diff --git a/ld/testsuite/ld-scripts/segment-start.d b/ld/testsuite/ld-scripts/segment-start.d
index b96b44c..c589597 100644
--- a/ld/testsuite/ld-scripts/segment-start.d
+++ b/ld/testsuite/ld-scripts/segment-start.d
@@ -3,7 +3,7 @@
#ld: -e 0 -u __executable_start -T segment-start.ld
#nm: -B
#xfail: mmix-*-* pdp11-*-*
-#xfail: tic30-*-*aout* c54x*-*-*coff* tic54x-*-*coff*
+#xfail: c54x*-*-*coff* tic54x-*-*coff*
# XFAIL targets that are not expected to handle SEGMENT_START correctly.
# Make sure `__executable_start' is regular: