Don't use -rdynamic in ld test
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / shared.exp
index 070915a791d6055e1ebc29262c8bccfbb7f9d764..300100a6c2d26056f3dc8d58f543df47f4937704 100644 (file)
@@ -328,7 +328,7 @@ set build_tests {
    "" ""
    {pr2404b.c} {} "libpr2404b.a"}
   {"Build rdynamic-1"
-   "-rdynamic -Wl,--gc-sections" "-ffunction-sections"
+   "-Wl,-export-dynamic,--gc-sections" "-ffunction-sections"
    {rdynamic-1.c} {{readelf {-s} rdynamic-1.rd}} "rdynamic-1"}
   {"Build dynamic-1"
    "-Wl,--dynamic-list,dynamic-1.syms -Wl,--gc-sections" "-ffunction-sections"
This page took 0.025077 seconds and 4 git commands to generate.