OSDN Git Service

alpha: trim crt code to fix build errors
authorMike Frysinger <vapier@gentoo.org>
Sun, 8 Apr 2012 19:36:28 +0000 (15:36 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 8 Apr 2012 20:03:27 +0000 (16:03 -0400)
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>
libc/sysdeps/linux/alpha/crtn.S

index c6fec15..bf847ab 100644 (file)
@@ -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"