diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-12-04 18:07:42 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-12-04 18:07:42 +0000 |
commit | 8233c3931771591ee6dd4e81b2365d92304ef402 (patch) | |
tree | 7eff629f549b525f7074484eeee942cd9dea04f0 /ld | |
parent | 200c83b8a913d1f6166db8c79ebcd9bdf2e9b819 (diff) | |
download | gdb-8233c3931771591ee6dd4e81b2365d92304ef402.zip gdb-8233c3931771591ee6dd4e81b2365d92304ef402.tar.gz gdb-8233c3931771591ee6dd4e81b2365d92304ef402.tar.bz2 |
Replace -export-dynamic with -Wl,-export-dynamic.
2010-12-04 H.J. Lu <hongjiu.lu@intel.com>
* ld-elfvers/vers.exp: Replace -export-dynamic with
-Wl,-export-dynamic.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | 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 73b8475..23b31e6 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -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 diff --git a/ld/testsuite/ld-elfvers/vers.exp b/ld/testsuite/ld-elfvers/vers.exp index 01cda47..d43c12e 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 # |