delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/09/18:59:06

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <37AF5A98.DA829525@teleport.com>
Date: Mon, 09 Aug 1999 15:47:52 -0700
From: John Reiser <jreiser AT teleport DOT com>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.5-15 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: 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 AT teleport DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019