8b747e1a27
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.
5 lines
206 B
Makefile
5 lines
206 B
Makefile
#name: PE-COFF --export-dynamic warning
|
|
#target: *-*-mingw32 *-*-cygwin *-*-pe
|
|
#ld: --export-dynamic
|
|
#warning: warning: --export-dynamic is not supported for PE targets, did you mean --export-all-symbols?
|
|
|