summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-09-29 22:43:31 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-09-29 22:43:31 +0000
commit8e2a54f64d7603ff30998aadd17ebaf264347ddf (patch)
tree8b2bc6f98b000ede9ecec537ab627e95cd1014f0 /libc/sysdeps/linux
parentb0d66c53896602904a66405d781820f1cdfc0a95 (diff)
Add .type _init/_fini unconditionally to arm/crt1.S
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/arm/crt1.S7
1 files changed, 3 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/arm/crt1.S b/libc/sysdeps/linux/arm/crt1.S
index 0486699a7..987c52936 100644
--- a/libc/sysdeps/linux/arm/crt1.S
+++ b/libc/sysdeps/linux/arm/crt1.S
@@ -79,7 +79,9 @@ ARM register quick reference:
.text
.globl _start
- .type _start,#function
+ .type _start,%function
+ .type _init,%function
+ .type _fini,%function
#ifndef __UCLIBC_CTOR_DTOR__
.weak _init
.weak _fini
@@ -139,9 +141,6 @@ _start:
.word _fini(GOT)
.word _init(GOT)
.word main(GOT)
-#else
- .type _init,%function
- .type _fini,%function
#endif
/* Define a symbol for the first piece of initialized data. */