aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/comm-data.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/comm-data.exp')
-rw-r--r--ld/testsuite/ld-elf/comm-data.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/comm-data.exp b/ld/testsuite/ld-elf/comm-data.exp
index b615074..d2c2ca5 100644
--- a/ld/testsuite/ld-elf/comm-data.exp
+++ b/ld/testsuite/ld-elf/comm-data.exp
@@ -41,6 +41,12 @@ set LFLAGS ""
if [istarget "tic6x-*-*"] {
append LFLAGS " -melf32_tic6x_le"
}
+# These targets do not default to linking with shared libraries.
+if { [istarget "mips*vr4100*-*-elf*"] \
+ || [istarget "mips*vr4300*-*-elf*"] \
+ || [istarget "mips*vr5000*-*-elf*"] } {
+ append LFLAGS " -call_shared"
+}
set testname "Common symbol override test"