authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-09-15 06:11:02+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-09-15 06:20:59+02:00
loge8b432aa5ebc5ecea5e52145ef0b3238aa460c54
treeea70952f188ce35bd61060d13ae2c3ec586d86e9
parent872800c0a5eecf5f919942dc35df7af7bd4b0be3
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.os.linux: fix comment syntax in microblaze and sh inline asm


2 files changed, 4 insertions(+), 4 deletions(-)

lib/std/os/linux/microblaze.zig+2-2
......@@ -130,11 +130,11 @@ pub fn clone() callconv(.naked) u32 {
130130 \\ brki r14, 0x8
131131 \\ beqi r3, 1f
132132 \\
133 \\ // parent
133 \\ # parent
134134 \\ rtsd r15, 8
135135 \\ nop
136136 \\
137 \\ // child
137 \\ # child
138138 \\1:
139139 \\ ori r15, r0, 0
140140 \\ ori r19, r0, 0
lib/std/os/linux/sh.zig+2-2
......@@ -179,11 +179,11 @@ pub fn clone() callconv(.naked) u32 {
179179 \\ cmp/eq #0, r0
180180 \\ bt 1f
181181 \\
182 \\ // parent
182 \\ ! parent
183183 \\ rts
184184 \\ nop
185185 \\
186 \\ // child
186 \\ ! child
187187 \\1:
188188 );
189189 if (builtin.unwind_tables != .none or !builtin.strip_debug_info) asm volatile (