replacing crt0.o on sv 386
Arnold Robbins
arnold at audiofax.com
Sat Nov 10 05:00:25 AEST 1990
For various reasons, I would like to write a replacement crt0.o for
our System V.3.2 '386 systems. Can someone describe for me the stack
layout of argc, argv, and environ after an exec? The replacement crt0
needs to be able to pull them off the stack in the right way in order
to pass them on in the call to main.
Pictures and/or C code preferred, assembly language also welcome.
Thanks,
--
Arnold Robbins AudioFAX, Inc. | Laundry increases
2000 Powers Ferry Road, #200 / Marietta, GA. 30067 | exponentially in the
INTERNET: arnold at audiofax.com Phone: +1 404 933 7612 | number of children.
UUCP: emory!audfax!arnold Fax-box: +1 404 618 4581 | -- Miriam Robbins
More information about the Comp.unix.questions
mailing list