aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorChris Demetriou <cgd@google.com>2009-04-29 17:24:27 +0000
committerChris Demetriou <cgd@google.com>2009-04-29 17:24:27 +0000
commit267e27229efe6d0edd002c87fc02598588503948 (patch)
treefb873c5cabcd8d6c3b8e51843a9c1f63a82bbed8 /ld/testsuite
parent3ea7450594d97c3741e3be6d8b131011379e5860 (diff)
downloadgdb-267e27229efe6d0edd002c87fc02598588503948.zip
gdb-267e27229efe6d0edd002c87fc02598588503948.tar.gz
gdb-267e27229efe6d0edd002c87fc02598588503948.tar.bz2
[ld/ChangeLog]
2009-04-29 Chris Demetriou <cgd@google.com> * 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 <cgd@google.com> * ld-elfvers/vers.exp (vers4b): New test to verify that --no-export-dynamic undoes --export-dynamic.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-elfvers/vers.exp4
2 files changed, 9 insertions, 0 deletions
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 <cgd@google.com>
+
+ * ld-elfvers/vers.exp (vers4b): New test to verify that
+ --no-export-dynamic undoes --export-dynamic.
+
2009-04-28 Nathan Sidwell <nathan@codesourcery.com>
* 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