aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvers/vers.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elfvers/vers.exp')
-rw-r--r--ld/testsuite/ld-elfvers/vers.exp6
1 files changed, 1 insertions, 5 deletions
diff --git a/ld/testsuite/ld-elfvers/vers.exp b/ld/testsuite/ld-elfvers/vers.exp
index 4f4c511..acf5bfd 100644
--- a/ld/testsuite/ld-elfvers/vers.exp
+++ b/ld/testsuite/ld-elfvers/vers.exp
@@ -93,11 +93,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"
}
}