summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-08 15:36:28 -0400
committerMike Frysinger <vapier@gentoo.org>2012-04-08 16:03:27 -0400
commit7a06b2f9b46437eafbbda75dea187b0d46fd96cb (patch)
tree0d603daf3823693d3095d898e3f4dc2b0d0a2617 /libc
parentc757a64fc087e9a4b4a3f465d8d9a732ac208032 (diff)
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>
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/alpha/crtn.S19
1 files changed, 1 insertions, 18 deletions
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"