crt1_c.c (50476) | crt1_c.c (67811) |
---|---|
1/*- 2 * Copyright 1996-1998 John D. Polstra. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 8 unchanged lines hidden (view full) --- 17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * | 1/*- 2 * Copyright 1996-1998 John D. Polstra. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 8 unchanged lines hidden (view full) --- 17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * |
25 * $FreeBSD: head/lib/csu/i386-elf/crt1.c 50476 1999-08-28 00:22:10Z peter $ | 25 * $FreeBSD: head/lib/csu/i386-elf/crt1.c 67811 2000-10-28 21:26:48Z obrien $ |
26 */ 27 28#ifndef __GNUC__ 29#error "GCC is needed to compile this file" 30#endif 31 32#include <stddef.h> 33#include <stdlib.h> | 26 */ 27 28#ifndef __GNUC__ 29#error "GCC is needed to compile this file" 30#endif 31 32#include <stddef.h> 33#include <stdlib.h> |
34#include "crtbrand.c" |
|
34 35typedef void (*fptr)(void); 36 37extern void _fini(void); 38extern void _init(void); 39extern int main(int, char **, char **); 40 41#ifdef GCRT --- 61 unchanged lines hidden --- | 35 36typedef void (*fptr)(void); 37 38extern void _fini(void); 39extern void _init(void); 40extern int main(int, char **, char **); 41 42#ifdef GCRT --- 61 unchanged lines hidden --- |