summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/x86_64/crtn.S
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-05-10 10:03:58 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-05-10 10:03:58 +0200
commit3e68c52b941636714d2599ea8adda9520ec2de23 (patch)
treefab2a3c9377428125f2eb16a47e5a12af812f0f2 /libc/sysdeps/linux/x86_64/crtn.S
parent074930dd7f2a18a7013cdb72cc38136f3be39c40 (diff)
*/crtn.S: Remove .size directive for _init and _fini
These are split across objects so setting size does not (and never did) work since the expression cannot be computed at assembly time. This avoids errors from recent (> 2.21) gas. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/x86_64/crtn.S')
-rw-r--r--libc/sysdeps/linux/x86_64/crtn.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/x86_64/crtn.S b/libc/sysdeps/linux/x86_64/crtn.S
index ec40c21d2..9804e0f76 100644
--- a/libc/sysdeps/linux/x86_64/crtn.S
+++ b/libc/sysdeps/linux/x86_64/crtn.S
@@ -7,7 +7,6 @@
.type _init, %function
addq $8, %rsp
ret
-.size _init,.-.init
.section .fini
@@ -15,4 +14,3 @@
.type _fini, %function
addq $8, %rsp
ret
-.size _fini, .-.fini