about summary refs log tree commit diff
path: root/src/setjmp/s390x/longjmp.s
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2020-08-12 21:00:26 +0000
committerRich Felker <dalias@aerifal.cx>2020-08-12 21:53:25 -0400
commit22359b54ab9a3ff0a854490f3eb0fcb838e785af (patch)
tree60bdbb3c6d3228f8e4bca17f6cfe3321a7d5b57a /src/setjmp/s390x/longjmp.s
parent4554f155dd23a65fcdfd39f1d5af8af55ba37694 (diff)
downloadmusl-22359b54ab9a3ff0a854490f3eb0fcb838e785af.tar.gz
musl-22359b54ab9a3ff0a854490f3eb0fcb838e785af.tar.xz
musl-22359b54ab9a3ff0a854490f3eb0fcb838e785af.zip
aarch64: fix setjmp return value
longjmp should set the return value of setjmp, but 64bit
registers were used for the 0 check while the type is int.

use the code that gcc generates for return val ? val : 1;
Diffstat (limited to 'src/setjmp/s390x/longjmp.s')
0 files changed, 0 insertions, 0 deletions