Commit b8f2fec0f2
2025-09-22 18:36:47
1 parent
9694c83Changed files (1)
lib
std
lib/std/pie.zig
@@ -177,7 +177,7 @@ inline fn getDynamicSymbol() [*]const elf.Dyn {
\\ jg 2f
\\ 1: .quad _DYNAMIC - .
\\ 2:
- : [ret] "=r" (-> [*]const elf.Dyn),
+ : [ret] "=a" (-> [*]const elf.Dyn),
),
// The compiler does not necessarily have any obligation to load the `l7` register (pointing
// to the GOT), so do it ourselves just in case.