std.os.linux.pie: Fix a relocation error for s390x.

This commit is contained in:
Alex Rønne Petersen 2024-11-24 20:44:48 +01:00
parent ddcde20817
commit 1e0267a96b
No known key found for this signature in database

View file

@ -178,7 +178,7 @@ inline fn getDynamicSymbol() [*]elf.Dyn {
\\ .hidden _DYNAMIC
\\ larl %[ret], 1f
\\ ag %[ret], 0(%[ret])
\\ b 2f
\\ jg 2f
\\ 1: .quad _DYNAMIC - .
\\ 2:
: [ret] "=r" (-> [*]elf.Dyn),