summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/crti.S
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-11-05 00:43:09 +0000
committerEric Andersen <andersen@codepoet.org>2003-11-05 00:43:09 +0000
commita1ec4fae6d9b3280f661bb80127d90c0d53a7a99 (patch)
treedbffb16f6c4f6454ffcf992cfa905f1b66eab5ed /libc/sysdeps/linux/arm/crti.S
parent51ddd87e60b2df058f28aff16dab8d7fcc6f6d20 (diff)
Continue the conversion to using per-arch crti.S and crtn.S
Diffstat (limited to 'libc/sysdeps/linux/arm/crti.S')
-rw-r--r--libc/sysdeps/linux/arm/crti.S26
1 files changed, 26 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/arm/crti.S b/libc/sysdeps/linux/arm/crti.S
new file mode 100644
index 000000000..0cacb1f10
--- /dev/null
+++ b/libc/sysdeps/linux/arm/crti.S
@@ -0,0 +1,26 @@
+ .file "initfini.c"
+
+ .section .init
+ .align 2
+ .global _init
+ .type _init, %function
+_init:
+ @ args = 0, pretend = 0, frame = 0
+ @ frame_needed = 0, uses_anonymous_args = 0
+ str lr, [sp, #-4]!
+
+ .align 2
+
+
+ .section .fini
+ .align 2
+ .global _fini
+ .type _fini, %function
+_fini:
+ @ args = 0, pretend = 0, frame = 0
+ @ frame_needed = 0, uses_anonymous_args = 0
+ str lr, [sp, #-4]!
+ .align 2
+
+
+ .ident "GCC: (GNU) 3.3.2 20031005 (Debian prerelease)"