crt1.c (204756) | crt1.c (209869) |
---|---|
1/* LINTLIBRARY */ 2/*- 3 * Copyright 2001 David E. O'Brien. 4 * All rights reserved. 5 * Copyright 1996-1998 John D. Polstra. 6 * All rights reserved. 7 * Copyright (c) 1997 Jason R. Thorpe. 8 * Copyright (c) 1995 Christopher G. Demetriou --- 45 unchanged lines hidden (view full) --- 54struct ps_strings; 55 56extern int _DYNAMIC; 57#pragma weak _DYNAMIC 58 59extern void _fini(void); 60extern void _init(void); 61extern int main(int, char **, char **); | 1/* LINTLIBRARY */ 2/*- 3 * Copyright 2001 David E. O'Brien. 4 * All rights reserved. 5 * Copyright 1996-1998 John D. Polstra. 6 * All rights reserved. 7 * Copyright (c) 1997 Jason R. Thorpe. 8 * Copyright (c) 1995 Christopher G. Demetriou --- 45 unchanged lines hidden (view full) --- 54struct ps_strings; 55 56extern int _DYNAMIC; 57#pragma weak _DYNAMIC 58 59extern void _fini(void); 60extern void _init(void); 61extern int main(int, char **, char **); |
62extern void _start(int, char **, char **, const struct Struct_Obj_Entry *, 63 void (*)(void), struct ps_strings *); |
|
62 63#ifdef GCRT 64extern void _mcleanup(void); 65extern void monstartup(void *, void *); 66extern int eprol; 67extern int etext; 68#endif 69 70char **environ; 71const char *__progname = ""; 72struct ps_strings *__ps_strings; 73 | 64 65#ifdef GCRT 66extern void _mcleanup(void); 67extern void monstartup(void *, void *); 68extern int eprol; 69extern int etext; 70#endif 71 72char **environ; 73const char *__progname = ""; 74struct ps_strings *__ps_strings; 75 |
74void _start(int, char **, char **, const struct Struct_Obj_Entry *, 75 void (*)(void), struct ps_strings *); 76 | |
77/* The entry function. */ 78/* 79 * First 5 arguments are specified by the PowerPC SVR4 ABI. 80 * The last argument, ps_strings, is a BSD extension. 81 */ 82/* ARGSUSED */ 83void 84_start(int argc, char **argv, char **env, --- 31 unchanged lines hidden (view full) --- 116} 117 118#ifdef GCRT 119__asm__(".text"); 120__asm__("eprol:"); 121__asm__(".previous"); 122#endif 123 | 76/* The entry function. */ 77/* 78 * First 5 arguments are specified by the PowerPC SVR4 ABI. 79 * The last argument, ps_strings, is a BSD extension. 80 */ 81/* ARGSUSED */ 82void 83_start(int argc, char **argv, char **env, --- 31 unchanged lines hidden (view full) --- 115} 116 117#ifdef GCRT 118__asm__(".text"); 119__asm__("eprol:"); 120__asm__(".previous"); 121#endif 122 |
124__asm__(".ident\t\"$FreeBSD: head/lib/csu/powerpc/crt1.c 204756 2010-03-05 13:28:05Z uqs $\""); | 123__asm__(".ident\t\"$FreeBSD: head/lib/csu/powerpc64/crt1.c 209869 2010-07-10 03:45:55Z nwhitehorn $\""); |