# Makefile for uClibc # # Copyright (C) 2000 by Lineo, inc. # Copyright (C) 2000-2005 Erik Andersen # # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. # #DIRS:=assert ctype dirent error file fnmatch ftw glob gnu internals intl locale mntent \ # pthread regex search statfs syslog sysvipc time ttyent utmp wchar wctype wordexp include $(top_srcdir)libc/misc/assert/Makefile.in include $(top_srcdir)libc/misc/ctype/Makefile.in include $(top_srcdir)libc/misc/dirent/Makefile.in include $(top_srcdir)libc/misc/error/Makefile.in include $(top_srcdir)libc/misc/file/Makefile.in include $(top_srcdir)libc/misc/fnmatch/Makefile.in include $(top_srcdir)libc/misc/ftw/Makefile.in include $(top_srcdir)libc/misc/glob/Makefile.in include $(top_srcdir)libc/misc/gnu/Makefile.in include $(top_srcdir)libc/misc/internals/Makefile.in include $(top_srcdir)libc/misc/locale/Makefile.in include $(top_srcdir)libc/misc/mntent/Makefile.in include $(top_srcdir)libc/misc/pthread/Makefile.in include $(top_srcdir)libc/misc/regex/Makefile.in include $(top_srcdir)libc/misc/search/Makefile.in include $(top_srcdir)libc/misc/statfs/Makefile.in include $(top_srcdir)libc/misc/syslog/Makefile.in include $(top_srcdir)libc/misc/sysvipc/Makefile.in include $(top_srcdir)libc/misc/time/Makefile.in include $(top_srcdir)libc/misc/ttyent/Makefile.in include $(top_srcdir)libc/misc/utmp/Makefile.in include $(top_srcdir)libc/misc/wchar/Makefile.in include $(top_srcdir)libc/misc/wctype/Makefile.in include $(top_srcdir)libc/misc/wordexp/Makefile.in .46&id=6c70a940b48c98d5be4bdc13a400a763e46eb5e6'>commitdiff
path: root/libc/sysdeps/linux/arm/crtn.S
blob: de01b38dcfaedbbac8e3610ab0446556013440dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
	.file	"initfini.c"
	
#include <bits/arm_asm.h>
	.section .init
	.global	_init
	.type	_init, %function
#if defined __thumb__
	.align	1
	.thumb
	@ this will not work on ARMv4T, but lots of stuff
	@ in here won't work there anyway...
	pop	{r4-r7, pc}
#else
	.align	2
	.arm
	ldmdb	fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, pc}
#endif
	.size	_init, .-_init
	
	.section .fini
	.global	_fini
	.type	_fini, %function
#if defined __thumb__
	.align	1
	.thumb
	pop	{r4-r7, pc}
#else
	.align	2
	.arm
	ldmdb	fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, pc}
#endif
	.size	_fini, .-_fini
	
	@ In fact this is modified to 3.4.4
	.ident	"GCC: (GNU) 3.3.2 20031005 (Debian prerelease)"