This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Fix PR6744 (--export-dynamic not supported on PE)
Dave Korn wrote:
> Applied with one slight alteration: I added a target selector to the .d
> file
>
> #target: *-*-mingw32 *-*-cygwin *-*-pe
Silly me. I must have forgotten to retest after I changed that first entry
from i?86-*-mingw32 to *-*-mingw32 because the warning is slightly different
on x86_64. About to commit the attached obvious fix.
ld/testsuite/ChangeLog
* ld-pe/export_dynamic_warning.d (#warning): Fix regex pattern.
cheers,
DaveK
Index: ld/testsuite/ld-pe/export_dynamic_warning.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-pe/export_dynamic_warning.d,v
retrieving revision 1.1
diff -p -u -r1.1 export_dynamic_warning.d
--- ld/testsuite/ld-pe/export_dynamic_warning.d 2 Apr 2009 14:42:41 -0000 1.1
+++ ld/testsuite/ld-pe/export_dynamic_warning.d 2 Apr 2009 16:37:32 -0000
@@ -1,5 +1,5 @@
#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?
+#warning: warning: --export-dynamic is not supported for PE\+? targets, did you mean --export-all-symbols\?