* lib/ld-lib.exp (ld_simple_link_defsyms): New proc, adding
[deliverable/binutils-gdb.git] / ld / testsuite / ld-gc / gc.exp
index 648f7327131ad280881c945ddd840e8e39c1b4fd..c85d4f2f33adde4dbacbf9462e054d02cc60d081 100644 (file)
@@ -44,7 +44,8 @@ proc test_gc { testname filename linker ldflags} {
     }
 
     set outfile "tmpdir/$filename"
-    set options "-L$srcdir/$subdir $ldflags $objfile"
+    set options "-L$srcdir/$subdir"
+    append options " " $ldflags " " [ld_simple_link_defsyms] " " $objfile
 
     # SH64 targets needs an extra ld option for this test.
     if [istarget sh64*-*-*] {
This page took 0.023618 seconds and 4 git commands to generate.