diff options
Diffstat (limited to 'src/ecrt0.c')
| -rw-r--r-- | src/ecrt0.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/ecrt0.c b/src/ecrt0.c index 458771319c7..98aac151862 100644 --- a/src/ecrt0.c +++ b/src/ecrt0.c | |||
| @@ -61,23 +61,21 @@ int data_start = 0; | |||
| 61 | 61 | ||
| 62 | char **environ; | 62 | char **environ; |
| 63 | 63 | ||
| 64 | static start1 (); | 64 | static start1 (int bogus_fp, int argc, char *xargv); |
| 65 | 65 | ||
| 66 | /* Define symbol "start": here; some systems want that symbol. */ | 66 | /* Define symbol "start": here; some systems want that symbol. */ |
| 67 | asm(" .text "); | 67 | asm(" .text "); |
| 68 | asm(" .globl start "); | 68 | asm(" .globl start "); |
| 69 | asm(" start: "); | 69 | asm(" start: "); |
| 70 | 70 | ||
| 71 | _start () | 71 | _start (void) |
| 72 | { | 72 | { |
| 73 | /* On vax, nothing is pushed here */ | 73 | /* On vax, nothing is pushed here */ |
| 74 | start1 (); | 74 | start1 (); |
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | static | 77 | static |
| 78 | start1 (bogus_fp, argc, xargv) | 78 | start1 (int bogus_fp, int argc, char *xargv) |
| 79 | int argc; | ||
| 80 | char *xargv; | ||
| 81 | { | 79 | { |
| 82 | register char **argv = &xargv; | 80 | register char **argv = &xargv; |
| 83 | environ = argv + argc + 1; | 81 | environ = argv + argc + 1; |