aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2025-09-22 18:36:47 +0200
committerGitHub <noreply@github.com>2025-09-22 18:36:47 +0200
commit7b92d5f4052be651e9bc5cd4ad78a69ccbee865d (patch)
treef5a1113435e60fbf691774ce7d36399ad90bc96d /lib/std/Build
parent26825e95066c104585d248787c0e56ce4e8413e0 (diff)
downloadzig-7b92d5f4052be651e9bc5cd4ad78a69ccbee865d.tar.gz
zig-7b92d5f4052be651e9bc5cd4ad78a69ccbee865d.zip
std.pie: fix register constraint in getDynamicSymbol() for s390x (#25327)
If the compiler happens to pick `ret = r0`, then this will assemble to `ag r0, 0` which is obviously not what we want. Using `a` instead of `r` will ensure that we get an appropriate address register, i.e. `r1` through `r15`. Re-enable pie_linux for s390x-linux which was disabled in ed7ff0b693037078f451a7c6c1124611060f4892.
Diffstat (limited to 'lib/std/Build')
0 files changed, 0 insertions, 0 deletions