Browse Source

Add .type _init/_fini unconditionally to arm/crt1.S

Peter S. Mazinger 18 years ago
parent
commit
8e2a54f64d
1 changed files with 3 additions and 4 deletions
  1. 3 4
      libc/sysdeps/linux/arm/crt1.S

+ 3 - 4
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.  */