From 267e27229efe6d0edd002c87fc02598588503948 Mon Sep 17 00:00:00 2001 From: Chris Demetriou Date: Wed, 29 Apr 2009 17:24:27 +0000 Subject: [ld/ChangeLog] 2009-04-29 Chris Demetriou * lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC. (ld_options): Likewise. (parse_args): Likewise. * ld.texinfo: Document --no-export-dynamic. * NEWS: Mention --no-export-dynamic. [ld/testsuite/ChangeLog] 2009-04-29 Chris Demetriou * ld-elfvers/vers.exp (vers4b): New test to verify that --no-export-dynamic undoes --export-dynamic. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/ld-elfvers/vers.exp | 4 ++++ 2 files changed, 9 insertions(+) (limited to 'ld/testsuite') diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 929a217..dec4cbb 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-04-29 Chris Demetriou + + * ld-elfvers/vers.exp (vers4b): New test to verify that + --no-export-dynamic undoes --export-dynamic. + 2009-04-28 Nathan Sidwell * ld-i386/vxworks1-lib.dd: Adjust expected disassembly. diff --git a/ld/testsuite/ld-elfvers/vers.exp b/ld/testsuite/ld-elfvers/vers.exp index e2f658d..31a5e38 100644 --- a/ld/testsuite/ld-elfvers/vers.exp +++ b/ld/testsuite/ld-elfvers/vers.exp @@ -804,6 +804,10 @@ build_exec "vers4" vers4.c vers4 "" "" "" "" vers4.sym build_exec "vers4a" vers4.c vers4a "-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 + # # Try multiple definitions foo@BAR and foo@@BAR and make sure the linker -- cgit v1.1