Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <20001130043249.11439.qmail@web124.yahoomail.com> Date: Wed, 29 Nov 2000 20:32:49 -0800 (PST) From: Earnie Boyd Subject: Re: Source for crt0.o? To: jfaith AT lineo DOT com, cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- jfaith AT lineo DOT com wrote: > > 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. > I don't have Cygwin up right now, I'm on Linux, but this should be easy to test. I have seen cases of uninitialized global pointers and often suggest that is the problem when someone reports SIGSEGV problems. HTH, ===== Earnie Boyd mailto:earnie_boyd AT yahoo DOT com --- --- --- Cygwin: POSIX on Windows --- --- Minimalist GNU for Windows --- __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com