XCOFF ld testsuite fixes
[deliverable/binutils-gdb.git] / ld / testsuite / ld-scripts / default-script.exp
index 5c9bf1f1ce8c9c1103f46c17ca7c5ba5f1a6a7e9..832c2bb847eb2f82eac03a3cdb4c8c854f9db687 100644 (file)
@@ -21,6 +21,8 @@
 set old_ldflags $LDFLAGS
 if { [istarget spu*-*-*] } {
     set LDFLAGS "$LDFLAGS --local-store 0:0"
+} elseif { [is_xcoff_format] } {
+    set LDFLAGS "$LDFLAGS -bnogc"
 }
 
 set test_list [lsort [glob -nocomplain $srcdir/$subdir/default-script*.d]]
This page took 0.023405 seconds and 4 git commands to generate.