This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch rfa] add --no-export-dynamic option to ld (for parity with gold)


gold supports the --no-export-dynamic option to undo the effect of
--export-dynamic.? This patch adds a similar flag to ld.

I realize that the testsuite change is ... umm, cheap?? but it wasn't
obvious to me a better place to test this change, the test I enhanced
already tests with and without --export-dynamic, and it seems likely
that anybody releasing a new binutils is likely to test ELF support
first, so if the option magically breaks this test will be good enough
to catch it.? 8-)

built on i686-linux, tested with no failures.? (I did some manual
tweaking to make sure that the test failed if the option had no
effect, too.)


chris
---
[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.

Attachment: ld-no-export-dynamic.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]