diff --git a/lib/std/start.zig b/lib/std/start.zig index 67448791abd1..c55cdb8147ba 100644 --- a/lib/std/start.zig +++ b/lib/std/start.zig @@ -469,7 +469,7 @@ fn posixCallMainAndExit(argc_argv_ptr: [*]usize) callconv(.C) noreturn { // Apply the initial relocations as early as possible in the startup // process. if (builtin.position_independent_executable) { - std.os.linux.pie.relocate(phdrs); + @call(.always_inline, std.os.linux.pie.relocate, .{phdrs}); } // This must be done after PIE relocations have been applied or we may crash