[PATCH] Fix PR6744 (--export-dynamic not supported on PE)

Dave Korn dave.korn.cygwin@googlemail.com
Thu Apr 2 05:15:00 GMT 2009


Dave Korn wrote:

>   I'll follow up with a testcase shortly.  

  Updated patch attached; contains testcase, plus a minor tweak to the wording
of the docs.


ld/ChangeLog

	PR ld/6744
	* ld.texinfo (--export-dynamic):  Mention --export-all-symbols.
	* emultempl/pe.em (gld_${EMULATION_NAME}_after_parse):  Issue
	warning if --export-dynamic was passed on command-line.
	* emultempl/pep.em (gld_${EMULATION_NAME}_after_parse):  Likewise.

ld/testsuite/ChangeLog

	PR ld/6744
	* ld-pe/export_dynamic_warning.d:  New test control file.
	* ld-pe/export_dynamic_warning.s:  New test source file.
	* ld-pe/pe.exp:  Also run export_dynamic_warning dump test.

  Ok?

    cheers,
      DaveK
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr6744-testcase.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20090402/561111a1/attachment.ksh>


More information about the Binutils mailing list