[git commit] alpha: trim crt code to fix build errors

Mike Frysinger vapier at gentoo.org
Sun Apr 8 20:03:27 UTC 2012


commit: http://git.uclibc.org/uClibc/commit/?id=7a06b2f9b46437eafbbda75dea187b0d46fd96cb
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Otherwise we get:
/tmp/cc14nHjG.s: Assembler messages:
/tmp/cc14nHjG.s: Error: .size expression for _init does not evaluate to a constant
/tmp/cc14nHjG.s: Error: .size expression for _fini does not evaluate to a constant

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 libc/sysdeps/linux/alpha/crtn.S |   19 +------------------
 1 files changed, 1 insertions(+), 18 deletions(-)

diff --git a/libc/sysdeps/linux/alpha/crtn.S b/libc/sysdeps/linux/alpha/crtn.S
index c6fec15..bf847ab 100644
--- a/libc/sysdeps/linux/alpha/crtn.S
+++ b/libc/sysdeps/linux/alpha/crtn.S
@@ -1,30 +1,13 @@
-	.set noat
-	.set noreorder
-	.set nomacro
-	.set	macro
-	
 	.section .init
-	.set	nomacro
 	.align 2
 	.globl _init
-	.ent _init
-	.set	nomacro
 	ldq $26,0($30)
 	lda $30,16($30)
 	ret $31,($26),1
-	.end _init
-	.set	macro
-	
+
 	.section .fini
-	.set	nomacro
 	.align 2
 	.globl _fini
-	.ent _fini
-	.set	nomacro
 	ldq $26,0($30)
 	lda $30,16($30)
 	ret $31,($26),1
-	.end _fini
-	.set	macro
-	
-	.ident	"GCC: (GNU) 3.3.2"


More information about the uClibc-cvs mailing list