This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

B20.1: "ld -r -T foo.lds foo.o" SIGSEGV


(cygwin b20.1 on WinNT 4.0 + SP3)

When I use "ld -r -T foo.lds foo.o", I get a SIGSEGV from ld.
The bug is in ei386pe.c/gld_i386pe_after_parse() not checking
for 0==entry_symbol.  A workaround, which may be needed later
anyway, is to define any global symbol as the entry point:

	ld -r -T foo.lds -e foo foo.o


-- 
John Reiser, jreiser@teleport.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]