authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-07-24 17:46:59+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-07-24 21:56:54+02:00
log1b13d7477d8c9f2154a8779f2e58c65cf1685b05
treee39bdb7c626705f6d376524cb5d946035564c064
parentce81525f3f3057e4239332b2152bf60f75c5f52a
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

start: Properly escape percent signs in the s390x inline asm.

Silly mistake in 8ffc41f74705246e61f3c02c253d40b1464ea2bf.

1 files changed, 6 insertions(+), 6 deletions(-)

lib/std/start.zig+6-6
...@@ -373,12 +373,12 @@ fn _start() callconv(.Naked) noreturn {...@@ -373,12 +373,12 @@ fn _start() callconv(.Naked) noreturn {
373 ,373 ,
374 .s390x =>374 .s390x =>
375 // Set up the stack frame (register save area and cleared back-chain slot).375 // Set up the stack frame (register save area and cleared back-chain slot).
376 \\ lgr %r2, %r15376 \\ lgr %%r2, %%r15
377 \\ lghi %r0, -16377 \\ lghi %%r0, -16
378 \\ ngr %r15, %r0378 \\ ngr %%r15, %%r0
379 \\ aghi %r15, -160379 \\ aghi %%r15, -160
380 \\ lghi %r0, 0380 \\ lghi %%r0, 0
381 \\ stg %r0, 0(%r15)381 \\ stg %%r0, 0(%%r15)
382 \\ jg %[posixCallMainAndExit]382 \\ jg %[posixCallMainAndExit]
383 ,383 ,
384 .sparc64 =>384 .sparc64 =>