summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
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. */