summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-05-05 09:19:16 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-05-05 09:19:16 +0200
commit07464c3e7156f4c8dfcac673c74f19b700b1b3b5 (patch)
tree2e4c6402a1de852f8d3683cf455fe60fa677b202 /libc/sysdeps/linux/i386
parent233c504cd940d9802226b6a3a092368b86978f5e (diff)
Revert "*/crt?.S: remove .size directives"
Removing them generally was not a good idea This reverts commit 233c504cd940d9802226b6a3a092368b86978f5e.
Diffstat (limited to 'libc/sysdeps/linux/i386')
-rw-r--r--libc/sysdeps/linux/i386/crt1.S1
-rw-r--r--libc/sysdeps/linux/i386/crtn.S2
2 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/i386/crt1.S b/libc/sysdeps/linux/i386/crt1.S
index 7dfeaf1a5..a133cb9e0 100644
--- a/libc/sysdeps/linux/i386/crt1.S
+++ b/libc/sysdeps/linux/i386/crt1.S
@@ -129,6 +129,7 @@ _start:
#endif
hlt /* Crash if somehow `exit' does return. */
+.size _start,.-_start
/* Define a symbol for the first piece of initialized data. */
.data
diff --git a/libc/sysdeps/linux/i386/crtn.S b/libc/sysdeps/linux/i386/crtn.S
index 34d5b38e2..191250487 100644
--- a/libc/sysdeps/linux/i386/crtn.S
+++ b/libc/sysdeps/linux/i386/crtn.S
@@ -6,6 +6,7 @@
popl %ebx
popl %ebp
ret
+.size _init,.-_init
@@ -15,6 +16,7 @@
popl %ebx
popl %ebp
ret
+.size _fini,.-_fini