Next release/allow PE executables to have an export table

fabrizio.ge@tiscali.it fabrizio.ge@tiscali.it
Sat Apr 5 10:34:00 GMT 2003


Here is a test suite for the feature: if ld has the new feature, it creates
an executable file that exports a function, an export library for the .exe
file, and a DLL+export library that calls that function.

Regards
Fabrizio

>-- Messaggio Originale --
>To: Danny Smith <danny_r_smith_2001@yahoo.co.nz>
>Cc: Daniel Jacobowitz <drow@mvista.com>, binutils@sources.redhat.com,
>   Christopher Faylor <cgf@redhat.com>, fabrizio.ge@tiscalinet.it
>Subject: Re: Next release/allow PE executables to have an export table
>From: Nick Clifton <nickc@redhat.com>
>Date: 02 Apr 2003 18:35:34 +0100
>
>
>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
>






__________________________________________________________________
Tiscali ADSL, fino a 9 MESI GRATIS sull'offerta Tiscali ADSL Light Mega!
Tiscali ADSL non teme confronti! Abbonati subito.
http://point.tiscali.it/adsl/index.shtml



-------------- next part --------------
A non-text attachment was scrubbed...
Name: exe_export_testcase.zip
Type: application/x-zip-compressed
Size: 1436 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20030405/4022adcd/attachment.bin>


More information about the Binutils mailing list