From afe62a07d12e83f5c9ec0a403e360529553733c4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 10 Nov 2005 02:23:19 +0000 Subject: sync with glibc --- libc/sysdeps/linux/arm/crt1.S | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/arm/crt1.S') diff --git a/libc/sysdeps/linux/arm/crt1.S b/libc/sysdeps/linux/arm/crt1.S index 26146ba86..7470715a1 100644 --- a/libc/sysdeps/linux/arm/crt1.S +++ b/libc/sysdeps/linux/arm/crt1.S @@ -1,5 +1,6 @@ /* Startup code for ARM & ELF - Copyright (C) 1995, 1996, 1997, 1998, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 1998, 2001, 2002, 2005 + Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -148,10 +149,14 @@ _start: ldr a4, =_init /* __uClibc_main (main, argc, argv, init, fini, rtld_fini, stack_end) */ + /* Let the libc call main and exit with its return code. */ b __uClibc_main #endif + /* should never get here....*/ + bl abort + #ifdef __PIC__ .L_GOT: .word _GLOBAL_OFFSET_TABLE_-(.L_GOT_OFF+8) -- cgit v1.2.3