This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Source for crt0.o?



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]