diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-10-19 23:32:47 +0200 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-10-23 09:27:17 +0200 |
| commit | 3e2daa509a897a4e10d5e6f28731b33ac2cc3dc2 (patch) | |
| tree | 6475c28a83f4b9495a4554a9bf9b06c8410dbc2f /lib/std/start.zig | |
| parent | dda05b29c06731895970e75c7444f0d30c7d334f (diff) | |
| download | zig-3e2daa509a897a4e10d5e6f28731b33ac2cc3dc2.tar.gz zig-3e2daa509a897a4e10d5e6f28731b33ac2cc3dc2.zip | |
std.Target: add arceb and xtensaeb Cpu.Arch tags
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 c6f65aae25..1f1aee0604 100644 --- a/lib/std/start.zig +++ b/lib/std/start.zig @@ -195,7 +195,7 @@ fn _start() callconv(.naked) noreturn { // This is the first userspace frame. Prevent DWARF-based unwinders from unwinding further. We // prevent FP-based unwinders from unwinding further by zeroing the register below. if (builtin.unwind_tables != .none or !builtin.strip_debug_info) asm volatile (switch (native_arch) { - .arc => ".cfi_undefined blink", + .arc, .arceb => ".cfi_undefined blink", .arm, .armeb, .thumb, .thumbeb => "", // https://github.com/llvm/llvm-project/issues/115891 .aarch64, .aarch64_be => ".cfi_undefined lr", .csky => ".cfi_undefined lr", @@ -253,7 +253,7 @@ fn _start() callconv(.naked) noreturn { \\ and sp, x0, #-16 \\ b %[posixCallMainAndExit] , - .arc => + .arc, .arceb => // ARC v1 and v2 had a very low stack alignment requirement of 4; v3 increased it to 16. \\ mov fp, 0 \\ mov blink, 0 |
