瀏覽代碼

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 <vapier@gentoo.org>
Mike Frysinger 12 年之前
父節點
當前提交
7a06b2f9b4
共有 1 個文件被更改,包括 1 次插入18 次删除
  1. 1 18
      libc/sysdeps/linux/alpha/crtn.S

+ 1 - 18
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"