This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Next release/allow PE executables to have an export table
- From: Nick Clifton <nickc at redhat dot com>
- To: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- Cc: Daniel Jacobowitz <drow at mvista dot com>, binutils at sources dot redhat dot com, Christopher Faylor <cgf at redhat dot com>, fabrizio dot ge at tiscalinet dot it
- Date: 02 Apr 2003 18:35:34 +0100
- Subject: Re: Next release/allow PE executables to have an export table
- References: <20030401230744.22366.qmail@web21413.mail.yahoo.com>
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 at users dot sourceforge dot 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 dot ge at tiscalinet dot 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