From 8233c3931771591ee6dd4e81b2365d92304ef402 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sat, 4 Dec 2010 18:07:42 +0000 Subject: [PATCH] Replace -export-dynamic with -Wl,-export-dynamic. 2010-12-04 H.J. Lu * ld-elfvers/vers.exp: Replace -export-dynamic with -Wl,-export-dynamic. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/ld-elfvers/vers.exp | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 73b8475d823..23b31e60127 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-12-04 H.J. Lu + + * ld-elfvers/vers.exp: Replace -export-dynamic with + -Wl,-export-dynamic. + 2010-11-30 Matthew Gretton-Dann * ld-scripts/script.exp: Remove full path from REGION_ALIAS test diff --git a/ld/testsuite/ld-elfvers/vers.exp b/ld/testsuite/ld-elfvers/vers.exp index 01cda47974f..d43c12e12e9 100644 --- a/ld/testsuite/ld-elfvers/vers.exp +++ b/ld/testsuite/ld-elfvers/vers.exp @@ -803,11 +803,11 @@ build_exec "vers3" vers3.c vers3 "" vers1.so vers3.ver vers3.dsym "" setup_xfail "mips*-*-*" build_exec "vers4" vers4.c vers4 "" "" "" "" vers4.sym -build_exec "vers4a" vers4.c vers4a "-export-dynamic" "" vers4a.ver vers4a.dsym vers4a.sym +build_exec "vers4a" vers4.c vers4a "-Wl,-export-dynamic" "" vers4a.ver vers4a.dsym vers4a.sym # Verify that --no-export-dynamic undoes the effect of --export-dynamic. setup_xfail "mips*-*-*" -build_exec "vers4b" vers4.c vers4b "-export-dynamic -Wl,--no-export-dynamic" "" "" "" vers4.sym +build_exec "vers4b" vers4.c vers4b "-Wl,-export-dynamic -Wl,--no-export-dynamic" "" "" "" vers4.sym # @@ -848,7 +848,7 @@ build_vers_lib_pic "vers8" vers1.c vers8 vers8.map "" vers8.ver vers1.dsym vers1 # This test tries to make sure that version references to versioned symbols # don't collide with default definitions with the same symbol. # -build_exec "vers9" vers9.c vers9 "-export-dynamic" "" vers9.ver vers9.dsym vers9.sym +build_exec "vers9" vers9.c vers9 "-Wl,-export-dynamic" "" vers9.ver vers9.dsym vers9.sym # -- 2.30.2