summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/powerpc/crt0.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-02-04 12:34:00 +0000
committerEric Andersen <andersen@codepoet.org>2002-02-04 12:34:00 +0000
commit330eb7bad0aeb0f95a12eb77791bdb4b828249d4 (patch)
tree527e12a369e03c73b20f5e68cd1798ad069c88f7 /libc/sysdeps/linux/powerpc/crt0.c
parent4971b11759683f19fca1b7df7c12b6d9a94828fe (diff)
Rework powerpc to be consistant with the other arches.
-Erik
Diffstat (limited to 'libc/sysdeps/linux/powerpc/crt0.c')
-rw-r--r--libc/sysdeps/linux/powerpc/crt0.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/powerpc/crt0.c b/libc/sysdeps/linux/powerpc/crt0.c
index 4bb289128..cf1c94af4 100644
--- a/libc/sysdeps/linux/powerpc/crt0.c
+++ b/libc/sysdeps/linux/powerpc/crt0.c
@@ -21,6 +21,8 @@
*
*/
+#include <errno.h>
+
asm(
"\t.global _start\n"
"\t_start:\n"
@@ -67,4 +69,3 @@ void _start2(void)
__uClibc_main(argc,p+1,p+2+argc);
}
-