summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/x86_64
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/x86_64')
-rw-r--r--libc/sysdeps/linux/x86_64/crt1.S1
-rw-r--r--libc/sysdeps/linux/x86_64/crtn.S2
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