mirror of
https://github.com/ziglang/zig.git
synced 2024-12-03 01:30:15 +00:00
std.os.linux.start_pie: Use a 64-bit displacement for s390x.
Not likely to be necessary ever, but might as well be 100% correct.
This commit is contained in:
parent
52519f79e0
commit
2e719f3239
@ -176,9 +176,9 @@ inline fn getDynamicSymbol() [*]elf.Dyn {
|
||||
\\ .weak _DYNAMIC
|
||||
\\ .hidden _DYNAMIC
|
||||
\\ larl %[ret], 1f
|
||||
\\ agf %[ret], 0(%[ret])
|
||||
\\ ag %[ret], 0(%[ret])
|
||||
\\ b 2f
|
||||
\\ 1: .long _DYNAMIC - .
|
||||
\\ 1: .quad _DYNAMIC - .
|
||||
\\ 2:
|
||||
: [ret] "=r" (-> [*]elf.Dyn),
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user