view src/pre-crt0.c @ 23947:f01d27883cb1

(spawn): Pass directory for child as parameter. (main): Save startup directory to give to spawn, then change directory to location of .exe in order not to prevent startup directory from being deleted.
author Andrew Innes <andrewi@gnu.org>
date Mon, 28 Dec 1998 19:25:28 +0000
parents 3165b2697c78
children 695cf19ef79e
line wrap: on
line source

/* This file is loaded before crt0.o on machines where we do not
   remap part of the data space into text space in unexec.
   On these machines, there is no problem with standard crt0.o's
   that make environ an initialized variable.  However, we do
   need to make sure the label data_start exists anyway.  */

/* Create a label to appear at the beginning of data space.  */

int data_start = 0;