aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug/Dwarf.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2025-10-07 08:46:43 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2025-10-07 16:47:57 +0200
commit9cd37a06965f1993f6e70ca3f10008d02f77334b (patch)
treea5025123558b5b1641ee3594092ab27f5a31a9dc /lib/std/debug/Dwarf.zig
parentf6403ed5ea05bcdbb55da15ee65204b1c8cdf423 (diff)
downloadzig-9cd37a06965f1993f6e70ca3f10008d02f77334b.tar.gz
zig-9cd37a06965f1993f6e70ca3f10008d02f77334b.zip
std.debug.Dwarf: use 66 as the (fake) MIPS PC register
32-63 conflict with the floating point registers. 64 and 65 are used for the ac0 hi/lo registers.
Diffstat (limited to 'lib/std/debug/Dwarf.zig')
-rw-r--r--lib/std/debug/Dwarf.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/debug/Dwarf.zig b/lib/std/debug/Dwarf.zig
index a6ecd07b23..98d7addb32 100644
--- a/lib/std/debug/Dwarf.zig
+++ b/lib/std/debug/Dwarf.zig
@@ -1433,7 +1433,7 @@ pub fn ipRegNum(arch: std.Target.Cpu.Arch) ?u16 {
.arm, .armeb, .thumb, .thumbeb => 15,
.hexagon => 76,
.loongarch32, .loongarch64 => 64,
- .mips, .mipsel, .mips64, .mips64el => 37,
+ .mips, .mipsel, .mips64, .mips64el => 66,
.powerpc, .powerpcle, .powerpc64, .powerpc64le => 67,
.riscv32, .riscv32be, .riscv64, .riscv64be => 65,
.s390x => 65,