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)
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: Dave Korn <dave dot korn dot cygwin at googlemail dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Thu, 02 Apr 2009 15:53:35 +0100
- Subject: Re: [PATCH] Fix PR6744 (--export-dynamic not supported on PE)
- References: <49D43501.6020602@gmail.com> <49D44C59.4030507@gmail.com> <49D47CF0.6040307@redhat.com>
Nick Clifton wrote:
> Hi Dave,
>
>> 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.
>
> Approved - please apply.
Applied with one slight alteration: I added a target selector to the .d file
#target: *-*-mingw32 *-*-cygwin *-*-pe
I'm just verifying that it does indeed pass on a bunch of the small embedded
ARM/MCORE/WinCE PE targets, I'll fix any fallout but don't expect it. (If
anyone wants, I could patch the BeOS target to do this warning as well. I
think that's the only PE target that uses a different emulation.)
cheers,
DaveK