Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3A25A3C8.9B1325D8@lineo.com>
Date: Wed, 29 Nov 2000 16:48:08 -0800
From: jfaith@lineo.com
X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; U)
X-Accept-Language: en,ja
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Source for crt0.o?
References: <3A246144.70CB2DDF@email.sps.mot.com> <3A259FDD.F3263C81@lineo.com> <200011300042.TAA29803@envy.delorie.com>
X-MIMETrack: Itemize by SMTP Server on lnseat/Lineo(Release 5.0.5 |September 22, 2000) at
 11/29/2000 05:58:31 PM,
	Serialize by Router on lnseat/Lineo(Release 5.0.5 |September 22, 2000) at
 11/29/2000 05:59:02 PM,
	Serialize complete at 11/29/2000 05:59:02 PM
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii


DJ Delorie wrote:

> > Where can I find the source for /lib/crt0.o?
> If you mean cygwin's, it's in src/newlib/libc/sys/cygwin/crt0.s

Thanks, looks like I have cygwin32/crt0.c

> > I tried disassembling (objdump -d) crt0.o, but did not see
> > initialization of the .bss section or any "bss" at all,
> NT does that for you.  We don't need to worry about it.

Are there cases where NT will not do this?  I have an executable
(binutils/gas) whose global data is not being initialized, and which
eventually gets segmentation faults.

--
John
mailto:jfaith@lineo.com



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

