Skip to content

Commit 538400f

Browse files
committed
update
1 parent aa166e5 commit 538400f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/backends/linux86.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ class BackendLinux86 : CompilerBackend {
210210

211211
// get argv and argc
212212
if (useLibc) {
213-
output ~= format("mov [__global_%s], rdi\n", Sanitise("__linux86_argc"));
213+
output ~= format("mov [__global_%s], edi\n", Sanitise("__linux86_argc"));
214214
output ~= format("mov [__global_%s], rsi\n", Sanitise("__linux86_argv"));
215215
}
216216
else {

0 commit comments

Comments
 (0)