Use CDECL_NO_CONV for va_list thunks; remove .globl

This commit is contained in:
2025-11-02 22:02:24 -07:00
parent 6f4808401b
commit 8c39e06cca
5 changed files with 10 additions and 11 deletions

View File

@@ -535,7 +535,6 @@ def emit_host_to_guest_thunks(
lines.append(
f"\t# Arg {i} (slot_size={arg.slot_size}, primitive={arg.primitive}, sign_extended={arg.sign_extended})"
)
lines.append(f".globl {thunk}")
lines.append(f".weak {thunk}")
lines.append(f".type {thunk}, @function")
lines.append(f"{thunk}:")