aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvsb
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-04-16 15:33:26 +0930
committerAlan Modra <amodra@gmail.com>2018-04-16 15:33:26 +0930
commitc9098af41e3246586a30f4f0bdb0ee4367e9a5e7 (patch)
tree8e9536dd5e0e1227e0e311b811d029dba4e14b3f /ld/testsuite/ld-elfvsb
parentdc12032bca08554cf0a72d224e44f755f7789ff3 (diff)
downloadgdb-c9098af41e3246586a30f4f0bdb0ee4367e9a5e7.zip
gdb-c9098af41e3246586a30f4f0bdb0ee4367e9a5e7.tar.gz
gdb-c9098af41e3246586a30f4f0bdb0ee4367e9a5e7.tar.bz2
Remove sparc-aout and sparc-coff support
bfd/ * Makefile.am: Remove sparc-aout and sparc-coff support. * config.bfd: Likewise. * configure.ac: Likewise. * targets.c: Likewise. * aout-sparcle.c: Delete. * aoutf1.h: Delete. * cf-sparclynx.c: Delete. * coff-sparc.c: Delete. * demo64.c: Delete. * sparclinux.c: Delete. * sparclynx.c: Delete. * sparcnetbsd.c: Delete. * sunos.c: Delete. * Makefile.in: Regenerate. * configure: Regenerate. * po/SRC-POTFILES.in: Regenerate. binutils/ * testsuite/lib/binutils-common.exp: Remove sparc-aout and sparc-coff support. gas/ * Makefile.am: Remove sparc-aout and sparc-coff support. * config/obj-coff.h: Likewise. * config/tc-sparc.c: Likewise. * config/tc-sparc.h: Likewise. * configure.tgt: Likewise. * config/te-sparcaout.h: Delete. * testsuite/gas/sun4/addend.d: Delete. * testsuite/gas/sun4/addend.exp: Delete. * testsuite/gas/sun4/addend.s: Delete. * Makefile.in: Regenerate. * po/POTFILES.in: Regenerate. ld/ * Makefile.am: Remove sparc-aout and sparc-coff support. * configure.tgt: Likewise. * testsuite/ld-elfvers/vers.exp: Likewise. * testsuite/ld-elfvsb/elfvsb.exp: Likewise. * testsuite/ld-elfweak/elfweak.exp: Likewise. * testsuite/ld-shared/shared.exp: Likewise. * emulparams/coff_sparc.sh: Delete. * emulparams/sparcaout.sh: Delete. * emulparams/sparclinux.sh: Delete. * emulparams/sparcnbsd.sh: Delete. * emulparams/sun4.sh: Delete. * scripttempl/sparccoff.sc: Delete. * Makefile.in: Regenerate. * po/BLD-POTFILES.in: Regenerate.
Diffstat (limited to 'ld/testsuite/ld-elfvsb')
-rw-r--r--ld/testsuite/ld-elfvsb/elfvsb.exp20
1 files changed, 3 insertions, 17 deletions
diff --git a/ld/testsuite/ld-elfvsb/elfvsb.exp b/ld/testsuite/ld-elfvsb/elfvsb.exp
index fb7a3af..2dfe2aa 100644
--- a/ld/testsuite/ld-elfvsb/elfvsb.exp
+++ b/ld/testsuite/ld-elfvsb/elfvsb.exp
@@ -299,8 +299,6 @@ proc visibility_run {visibility} {
if [ string match $support_protected "no" ] {
setup_xfail $target_triplet
}
- } else {
- setup_xfail "*-*-sunos4*"
}
# Non-pic code uses name binding rules for applications to
@@ -342,9 +340,6 @@ proc visibility_run {visibility} {
if [ string match $support_protected "no" ] {
setup_xfail $target_triplet
}
- } else {
- setup_xfail "*-*-sunos4*"
- setup_xfail "*-*-linux*libc1"
}
if { [ string match $visibility "hidden_normal" ]
|| [ string match $visibility "hidden_weak" ]
@@ -392,14 +387,11 @@ proc visibility_run {visibility} {
setup_xfail $target_triplet
}
}
- # SunOS can not compare function pointers correctly
- if [istarget "*-*-sunos4*"] {
- visibility_test $visibility vp "visibility ($visibility)" mainnp.o sh1p.o sh2p.o sun4
- } else { if { [istarget rs6000*-*-aix*] || [istarget powerpc*-*-aix*] } {
+ if { [istarget rs6000*-*-aix*] || [istarget powerpc*-*-aix*] } {
visibility_test $visibility vp "visibility ($visibility)" mainnp.o sh1p.o sh2p.o xcoff
} else {
visibility_test $visibility vp "visibility ($visibility)" mainnp.o sh1p.o sh2p.o elfvsb $COMPRESS_LDFLAG
- } }
+ }
}
}}
@@ -423,8 +415,6 @@ proc visibility_run {visibility} {
if [ string match $support_protected "no" ] {
setup_xfail $target_triplet
}
- } else {
- setup_xfail "*-*-sunos4*"
}
if { ![ string match $visibility "hidden_undef" ]
&& ![ string match $visibility "protected_undef" ] } {
@@ -493,11 +483,7 @@ if { [istarget mips*-*-*] && ! [at_least_gcc_version 4 3] } then {
|| [string match "*option ignored*" $exec_output] \
|| [string match "*unrecognized option*" $exec_output] \
|| [string match "*passed to ld*" $exec_output] } {
- if [istarget *-*-sunos4*] {
- set picflag "-pic"
- } else {
- set picflag "-KPIC"
- }
+ set picflag "-KPIC"
}
}
verbose "Using $picflag to compile PIC code"