delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/29/19:58:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A25A3C8.9B1325D8@lineo.com>
Date: Wed, 29 Nov 2000 16:48:08 -0800
From: jfaith AT lineo DOT com
X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; U)
X-Accept-Language: en,ja
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Source for crt0.o?
References: <3A246144 DOT 70CB2DDF AT email DOT sps DOT mot DOT com> <3A259FDD DOT F3263C81 AT lineo DOT com> <200011300042 DOT TAA29803 AT envy DOT delorie DOT 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

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 AT lineo 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