diff options
| author | Ali Chraghi <alichraghi@pm.me> | 2022-10-07 21:24:44 +0330 |
|---|---|---|
| committer | Ali Chraghi <alichraghi@pm.me> | 2022-11-04 00:09:27 +0330 |
| commit | f5f1f8c66625237e4eceb3cd40597a687e9a58ac (patch) | |
| tree | 913632d097ffcdeea739da3a2f9b5b023e0ba81c /lib/std/start.zig | |
| parent | 678f3f6e65e8808520973912fb6c4d7dbca189fe (diff) | |
| download | zig-f5f1f8c66625237e4eceb3cd40597a687e9a58ac.tar.gz zig-f5f1f8c66625237e4eceb3cd40597a687e9a58ac.zip | |
all: rename i386 to x86
Diffstat (limited to 'lib/std/start.zig')
| -rw-r--r-- | lib/std/start.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/start.zig b/lib/std/start.zig index 7ba24ad78c..8a0febf1a1 100644 --- a/lib/std/start.zig +++ b/lib/std/start.zig @@ -275,7 +275,7 @@ fn _start() callconv(.Naked) noreturn { \\ andq $-16, %%rsp \\ call _posixCallMainAndExit ), - .i386 => asm volatile ( + .x86 => asm volatile ( \\ xorl %%ebp, %%ebp \\ movl %%esp, argc_argv_ptr \\ andl $-16, %%esp @@ -307,7 +307,7 @@ fn _start() callconv(.Naked) noreturn { : [argc] "={rsp}" (-> [*]usize), ); }, - .i386 => { + .x86 => { argc_argv_ptr = asm volatile ( \\ xor %%ebp, %%ebp : [argc] "={esp}" (-> [*]usize), |
