crt1.c (204756) | crt1.c (216338) |
---|---|
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 --- 25 unchanged lines hidden (view full) --- 34 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 35 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 36 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 37 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 38 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 39 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 40 */ 41 | 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 --- 25 unchanged lines hidden (view full) --- 34 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 35 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 36 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 37 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 38 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 39 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 40 */ 41 |
42#include <sys/cdefs.h> 43__FBSDID("$FreeBSD: head/lib/csu/arm/crt1.c 216338 2010-12-09 21:31:21Z dim $"); 44 |
|
42#ifndef lint 43#ifndef __GNUC__ 44#error "GCC is needed to compile this file" 45#endif 46#endif /* lint */ 47 48#include <stdlib.h> 49 50#include "libc_private.h" 51#include "crtbrand.c" | 45#ifndef lint 46#ifndef __GNUC__ 47#error "GCC is needed to compile this file" 48#endif 49#endif /* lint */ 50 51#include <stdlib.h> 52 53#include "libc_private.h" 54#include "crtbrand.c" |
52#include <machine/asm.h> | |
53 54struct Struct_Obj_Entry; 55struct ps_strings; 56 57extern int _DYNAMIC; 58#pragma weak _DYNAMIC 59 60extern void _fini(void); --- 70 unchanged lines hidden (view full) --- 131 exit( main(argc, argv, env) ); 132} 133 134#ifdef GCRT 135__asm__(".text"); 136__asm__("eprol:"); 137__asm__(".previous"); 138#endif | 55 56struct Struct_Obj_Entry; 57struct ps_strings; 58 59extern int _DYNAMIC; 60#pragma weak _DYNAMIC 61 62extern void _fini(void); --- 70 unchanged lines hidden (view full) --- 133 exit( main(argc, argv, env) ); 134} 135 136#ifdef GCRT 137__asm__(".text"); 138__asm__("eprol:"); 139__asm__(".previous"); 140#endif |
139 140__asm__(".ident\t\"$FreeBSD: head/lib/csu/arm/crt1.c 204756 2010-03-05 13:28:05Z uqs $\""); | |