Index: kernel/arch/amd64/src/debug/stacktrace_asm.S
===================================================================
--- kernel/arch/amd64/src/debug/stacktrace_asm.S	(revision 65914aced836cf6f42001004457cd1b692300e45)
+++ kernel/arch/amd64/src/debug/stacktrace_asm.S	(revision 13dfa3f9eae98905dfc11390f35b47eb2559eeef)
@@ -27,14 +27,15 @@
 #
 
+#include <abi/asmtool.h>
+
 .text
 
-.global frame_pointer_get
-.global program_counter_get
-
-frame_pointer_get:
+FUNCTION_BEGIN(frame_pointer_get)
 	movq %rbp, %rax
 	ret
+FUNCTION_END(frame_pointer_get)
 
-program_counter_get:
+FUNCTION_BEGIN(program_counter_get)
 	movq (%rsp), %rax
 	ret
+FUNCTION_END(program_counter_get)
