From 7a06b2f9b46437eafbbda75dea187b0d46fd96cb Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 8 Apr 2012 15:36:28 -0400 Subject: alpha: trim crt code to fix build errors 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 --- libc/sysdeps/linux/alpha/crtn.S | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'libc') diff --git a/libc/sysdeps/linux/alpha/crtn.S b/libc/sysdeps/linux/alpha/crtn.S index c6fec15ba..bf847ab00 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" -- cgit v1.2.3