+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
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
#
# 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
#