Skip to content

Commit 00e695f

Browse files
committed
fix fastcall mangling for rust_psm_on_stack
All but the label were `@16`, but the label itself was `@20`. This was causing an error trying to build a mingw-w64 (windows-gnu) rust using clang/lld.
1 parent 78e6d81 commit 00e695f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

psm/src/arch/x86_windows_gnu.s

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
.endef
6767
.globl @rust_psm_on_stack@16
6868
.p2align 4
69-
@rust_psm_on_stack@20:
69+
@rust_psm_on_stack@16:
7070
/* extern "fastcall" fn(%ecx: usize, %edx: usize, 4(%esp): extern "fastcall" fn(usize, usize), 8(%esp): *mut u8) */
7171
.cfi_startproc
7272
pushl %ebp

0 commit comments

Comments
 (0)