diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2011-05-05 09:19:16 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2011-05-05 09:19:16 +0200 |
commit | 07464c3e7156f4c8dfcac673c74f19b700b1b3b5 (patch) | |
tree | 2e4c6402a1de852f8d3683cf455fe60fa677b202 /libc/sysdeps/linux/x86_64 | |
parent | 233c504cd940d9802226b6a3a092368b86978f5e (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/x86_64')
-rw-r--r-- | libc/sysdeps/linux/x86_64/crt1.S | 1 | ||||
-rw-r--r-- | libc/sysdeps/linux/x86_64/crtn.S | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/x86_64/crt1.S b/libc/sysdeps/linux/x86_64/crt1.S index a21be7583..f6c1eb1e7 100644 --- a/libc/sysdeps/linux/x86_64/crt1.S +++ b/libc/sysdeps/linux/x86_64/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/x86_64/crtn.S b/libc/sysdeps/linux/x86_64/crtn.S index 9804e0f76..5b110d967 100644 --- a/libc/sysdeps/linux/x86_64/crtn.S +++ b/libc/sysdeps/linux/x86_64/crtn.S @@ -7,6 +7,7 @@ .type _init, %function addq $8, %rsp ret +.size _init,.-_init .section .fini @@ -14,3 +15,4 @@ .type _fini, %function addq $8, %rsp ret +.size _fini, .-_fini |