diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2024-07-24 00:30:57 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-07-24 10:25:51 -0700 |
| commit | 557c4f04c2f13384c8f185af7a2befad00dd8a5c (patch) | |
| tree | 7c95a69e98ecd4a5bc1af26576d12afc84ac01aa /lib/std/start.zig | |
| parent | 75cf7fca900766713597d21d141292b3725aac50 (diff) | |
| download | zig-557c4f04c2f13384c8f185af7a2befad00dd8a5c.tar.gz zig-557c4f04c2f13384c8f185af7a2befad00dd8a5c.zip | |
start: Handle loongarch32 together with loongarch64.
Nothing bitness-specific about this startup code.
Diffstat (limited to 'lib/std/start.zig')
| -rw-r--r-- | lib/std/start.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/start.zig b/lib/std/start.zig index 5bcd2f0eb6..9d4edd16bf 100644 --- a/lib/std/start.zig +++ b/lib/std/start.zig @@ -300,7 +300,7 @@ fn _start() callconv(.Naked) noreturn { \\ and sp, #-16 \\ b %[posixCallMainAndExit] , - .loongarch64 => + .loongarch32, .loongarch64 => \\ move $fp, $zero \\ move $a0, $sp \\ bstrins.d $sp, $zero, 3, 0 |
