Replace -export-dynamic with -Wl,-export-dynamic.
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 4 Dec 2010 18:07:42 +0000 (18:07 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 4 Dec 2010 18:07:42 +0000 (18:07 +0000)
2010-12-04  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elfvers/vers.exp: Replace -export-dynamic with
-Wl,-export-dynamic.

ld/testsuite/ChangeLog
ld/testsuite/ld-elfvers/vers.exp

index 73b8475d82371b3b72d4675382e40e42e5121b04..23b31e6012767042446e4ed7f14b261856a48fe2 100644 (file)
@@ -1,3 +1,8 @@
+2010-12-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-elfvers/vers.exp: Replace -export-dynamic with
+       -Wl,-export-dynamic.
+
 2010-11-30  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
 
        * ld-scripts/script.exp: Remove full path from REGION_ALIAS test
index 01cda47974f5aab7fd92b930b4ab596c918e4ef6..d43c12e12e9e3e4097877f85d4568f4637a787d9 100644 (file)
@@ -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
 
 
 #