[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cygwin
Subject:    Re: Source for crt0.o?
From:       Earnie Boyd <earnie_boyd () yahoo ! com>
Date:       2000-11-30 4:32:49
[Download RAW message or body]

--- jfaith@lineo.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@yahoo.com

---         <http://earniesystems.safeshopper.com>         ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
---   Minimalist GNU for Windows <http://www.mingw.org/>   ---

__________________________________________________
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@sourceware.cygnus.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic