remove unnecessary labels

This commit is contained in:
2025-12-10 11:42:41 +01:00
parent 557c98917c
commit ef6cd851f7

View File

@@ -52,9 +52,6 @@ export fn syscall_handler(regs: *UserRegs) void {
/// Assembly trampoline that saves state and calls the Zig handler. /// Assembly trampoline that saves state and calls the Zig handler.
pub fn syscall_entry() callconv(.naked) void { pub fn syscall_entry() callconv(.naked) void {
asm volatile ( asm volatile (
\\ .global syscall_entry
\\ .type syscall_entry, @function
\\ syscall_entry:
\\ # Respect the Red Zone (128 bytes) \\ # Respect the Red Zone (128 bytes)
\\ sub $128, %rsp \\ sub $128, %rsp
\\ \\