Next release/allow PE executables to have an export table
Nick Clifton
nickc@redhat.com
Wed Apr 2 17:35:00 GMT 2003
Hi Danny,
> Hi, the patch to allow PE executables to have an export table was awaiting
> copyright assignment from submitter Fabrizio Gennari. I understand that is now
> cleared.
It has.
> Here is Fabrizio's patch again, combined with a correction from me for
> relocateable output.
>
> 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
>
> * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
> Don't call pe_dll_build_section() if link_info.relocateable.
> (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections()
> if link_info.relocateable.
>
> 2003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
>
> * pe-dll.c (process_def_file): Don't create an export
> section if there are no exports and we're building an exe
> (pe_dll_build_sections): Ditto
> (pe_dll_fill_sections): Conditionalize setting
> abfd->dll true on info->shared
> * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
> If i386pe or armpe, call pe_dll_build_section()
> for both exe's and dll's, not just dll's.
> (gld_${EMULATION_NAME}_finish): For all targets except
> shpe and mipspe, call pe_dll_fill_sections() for both
> exe's and dll's, not just dll's.
Approved and applied.
Cheers
Nick
More information about the Binutils
mailing list