XCOFF ld testsuite fixes
[deliverable/binutils-gdb.git] / ld / testsuite / ld-scripts / defined.exp
index 7a47030c70d235b764229a70cb563b2785009cd1..18e5c13244127b54fef34d088b203df116361ffa 100644 (file)
@@ -30,6 +30,8 @@ if ![ld_assemble $as $srcdir/$subdir/defined.s tmpdir/def.o] {
 set saved_LDFLAGS "$LDFLAGS"
 if { [is_pecoff_format] } then {
     set LDFLAGS "$LDFLAGS --image-base 0"
+} elseif { [is_xcoff_format] } then {
+    set LDFLAGS "$LDFLAGS -bnogc"
 }
 
 if { ![ld_link $ld tmpdir/def "$LDFLAGS -T $srcdir/$subdir/defined.t tmpdir/def.o"] } {
This page took 0.024669 seconds and 4 git commands to generate.