summaryrefslogtreecommitdiff
path: root/arch/x86_64
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-11-23 01:19:51 +0100
committerRich Felker <dalias@aerifal.cx>2025-02-21 19:29:44 -0500
commitf1cda422cd3917130da4df423c1fcb6927f0f8eb (patch)
tree0c412a93d0223666ad34646ef9a3e7891bd50334 /arch/x86_64
parentc47ad25ea3b484e10326f933e927c0bc8cded3da (diff)
downloadmusl-f1cda422cd3917130da4df423c1fcb6927f0f8eb.tar.gz
i386, x86_64, x32: set the symbol type for the crt1 START function
Diffstat (limited to 'arch/x86_64')
-rw-r--r--arch/x86_64/crt_arch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86_64/crt_arch.h b/arch/x86_64/crt_arch.h
index 3eec61bd..b1c9c476 100644
--- a/arch/x86_64/crt_arch.h
+++ b/arch/x86_64/crt_arch.h
@@ -1,6 +1,7 @@
__asm__(
".text \n"
".global " START " \n"
+".type " START ",%function \n"
START ": \n"
" xor %rbp,%rbp \n"
" mov %rsp,%rdi \n"