Deleted Added
full compact
crt1.c (81586) crt1.c (91430)
1/*-
2 * Copyright 2001 David E. O'Brien.
3 * All rights reserved.
4 * Copyright 1996-1998 John D. Polstra.
5 * All rights reserved.
6 * Copyright (c) 1997 Jason R. Thorpe.
7 * Copyright (c) 1995 Christopher G. Demetriou
8 * All rights reserved.

--- 72 unchanged lines hidden (view full) ---

81 const struct Struct_Obj_Entry *obj; /* from shared loader */
82 void (*cleanup) __P((void)); /* from shared loader */
83 struct ps_strings *ps_strings; /* BSD extension */
84{
85 char *namep;
86
87 environ = envp;
88
1/*-
2 * Copyright 2001 David E. O'Brien.
3 * All rights reserved.
4 * Copyright 1996-1998 John D. Polstra.
5 * All rights reserved.
6 * Copyright (c) 1997 Jason R. Thorpe.
7 * Copyright (c) 1995 Christopher G. Demetriou
8 * All rights reserved.

--- 72 unchanged lines hidden (view full) ---

81 const struct Struct_Obj_Entry *obj; /* from shared loader */
82 void (*cleanup) __P((void)); /* from shared loader */
83 struct ps_strings *ps_strings; /* BSD extension */
84{
85 char *namep;
86
87 environ = envp;
88
89 if(argc > 0 && argv[0] != NULL) {
89 if (argc > 0 && argv[0] != NULL) {
90 char *s;
91 __progname = argv[0];
92 for (s = __progname; *s != '\0'; s++)
93 if (*s == '/')
94 __progname = s + 1;
95 }
96
97 if (ps_strings != (struct ps_strings *)0)

--- 14 unchanged lines hidden (view full) ---

112}
113
114#ifdef GCRT
115__asm__(".text");
116__asm__("eprol:");
117__asm__(".previous");
118#endif
119
90 char *s;
91 __progname = argv[0];
92 for (s = __progname; *s != '\0'; s++)
93 if (*s == '/')
94 __progname = s + 1;
95 }
96
97 if (ps_strings != (struct ps_strings *)0)

--- 14 unchanged lines hidden (view full) ---

112}
113
114#ifdef GCRT
115__asm__(".text");
116__asm__("eprol:");
117__asm__(".previous");
118#endif
119
120/*
121 * NOTE: Leave the RCS ID _after_ __start(), in case it gets placed in .text.
122 */
123#ifndef lint
124static const char rcsid[] =
125 "$FreeBSD: head/lib/csu/powerpc/crt1.c 81586 2001-08-13 14:06:34Z ru $";
126#endif
120__asm__(".ident\t\"$FreeBSD: head/lib/csu/powerpc/crt1.c 91430 2002-02-27 22:13:02Z obrien $\"");