authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-02-28 21:59:45-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-02-28 21:59:45-07:00
log6af6c3c9791b655b3adca08749baf89404b081ae
tree2e7bd8661521212113a25c9bb316d777f8c4cbca
parent4b1fe8e49238514217e1c6900361a4eb8a0dadbd

update i386 assembly to satisify llvm12

Without this, LLVM 12 says: error: ambiguous instructions require an explicit suffix (could be 'retw', or 'retl')

2 files changed, 2 insertions(+), 2 deletions(-)

lib/std/special/c.zig+1-1
......@@ -325,7 +325,7 @@ fn clone() callconv(.Naked) void {
325325 \\ pop %%esi
326326 \\ pop %%ebx
327327 \\ pop %%ebp
328 \\ ret
328 \\ retw
329329 );
330330 },
331331 .x86_64 => {
lib/std/special/compiler_rt/stack_probe.zig+1-1
......@@ -53,7 +53,7 @@ pub fn zig_probe_stack() callconv(.Naked) void {
5353 \\ orl $0,8(%%esp)
5454 \\ add %%eax,%%esp
5555 \\ pop %%ecx
56 \\ ret
56 \\ retw
5757 );
5858 },
5959 else => {},