aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/sec64k.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/sec64k.exp')
-rw-r--r--ld/testsuite/ld-elf/sec64k.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/sec64k.exp b/ld/testsuite/ld-elf/sec64k.exp
index b58139e..3909c0e 100644
--- a/ld/testsuite/ld-elf/sec64k.exp
+++ b/ld/testsuite/ld-elf/sec64k.exp
@@ -177,6 +177,8 @@ if { ![istarget "d10v-*-*"]
foreach sfile $sfiles { puts $ofd "#source: $sfile" }
if { [istarget spu*-*-*] } {
puts $ofd "#ld: --local-store 0:0"
+ } elseif { [istarget "i?86-*-linux*"] || [istarget "x86_64-*-linux*"] } {
+ puts $ofd "#ld: -z noseparate-code"
} else {
puts $ofd "#ld:"
}