aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-selective/selective.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-selective/selective.exp')
-rw-r--r--ld/testsuite/ld-selective/selective.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-selective/selective.exp b/ld/testsuite/ld-selective/selective.exp
index 813a52d..2531a5e 100644
--- a/ld/testsuite/ld-selective/selective.exp
+++ b/ld/testsuite/ld-selective/selective.exp
@@ -52,7 +52,7 @@ set ldflags "--gc-sections -Bstatic"
if [istarget mips*-*] {
# MIPS16 doesn't support PIC code.
- set cflags "-mno-abicalls $cflags"
+ set cflags "-mno-abicalls -fno-PIC $cflags"
# MIPS ELF uses __start by default, we override it.
set ldflags "-e _start $ldflags"
}