summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/crt1.S
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-10 02:23:19 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-10 02:23:19 +0000
commitafe62a07d12e83f5c9ec0a403e360529553733c4 (patch)
tree624b0f5b50c078b1b3fc13b33ae13fca8b3e1dde /libc/sysdeps/linux/arm/crt1.S
parentd1e97540300442c2ec0aea1feb0d9687cc21059c (diff)
sync with glibc
Diffstat (limited to 'libc/sysdeps/linux/arm/crt1.S')
-rw-r--r--libc/sysdeps/linux/arm/crt1.S7
1 files changed, 6 insertions, 1 deletions
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)