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 {...@@ -130,11 +130,11 @@ pub fn clone() callconv(.naked) u32 {
130 \\ brki r14, 0x8130 \\ brki r14, 0x8
131 \\ beqi r3, 1f131 \\ beqi r3, 1f
132 \\132 \\
133 \\ // parent133 \\ # parent
134 \\ rtsd r15, 8134 \\ rtsd r15, 8
135 \\ nop135 \\ nop
136 \\136 \\
137 \\ // child137 \\ # child
138 \\1:138 \\1:
139 \\ ori r15, r0, 0139 \\ ori r15, r0, 0
140 \\ ori r19, r0, 0140 \\ ori r19, r0, 0
lib/std/os/linux/sh.zig+2-2
...@@ -179,11 +179,11 @@ pub fn clone() callconv(.naked) u32 {...@@ -179,11 +179,11 @@ pub fn clone() callconv(.naked) u32 {
179 \\ cmp/eq #0, r0179 \\ cmp/eq #0, r0
180 \\ bt 1f180 \\ bt 1f
181 \\181 \\
182 \\ // parent182 \\ ! parent
183 \\ rts183 \\ rts
184 \\ nop184 \\ nop
185 \\185 \\
186 \\ // child186 \\ ! child
187 \\1:187 \\1:
188 );188 );
189 if (builtin.unwind_tables != .none or !builtin.strip_debug_info) asm volatile (189 if (builtin.unwind_tables != .none or !builtin.strip_debug_info) asm volatile (