Commit 69e24e34 authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

* src/ecrt0.c: Revert conversion to standard C.

parent 4ad11f8c
2010-07-06 Dan Nicolaescu <dann@ics.uci.edu>
* ecrt0.c: Revert conversion to standard C.
2010-07-05 Dan Nicolaescu <dann@ics.uci.edu>
* vm-limit.c (memory_warnings):
......
......@@ -61,21 +61,23 @@ int data_start = 0;
char **environ;
static start1 (int bogus_fp, int argc, char *xargv);
static start1 ();
/* Define symbol "start": here; some systems want that symbol. */
asm(" .text ");
asm(" .globl start ");
asm(" start: ");
_start (void)
_start ()
{
/* On vax, nothing is pushed here */
start1 ();
}
static
start1 (int bogus_fp, int argc, char *xargv)
start1 (bogus_fp, argc, xargv)
int argc;
char *xargv;
{
register char **argv = &xargv;
environ = argv + argc + 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment