diff options
author | Xing Li <lixing@loongson.cn> | 2022-11-29 19:24:43 +0800 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-12-07 10:37:06 -0300 |
commit | 36d423e2032e98305799071b831691fc4c06deea (patch) | |
tree | e1091f68c14fc6877a0ad8cd34af0cfd79c0e42a /sysdeps/unix/sysv/linux/sparc/bits/siginfo-consts-arch.h | |
parent | 9f482b73f41a9a1bbfb173aad0733d1c824c788a (diff) | |
download | glibc-36d423e2032e98305799071b831691fc4c06deea.tar.gz glibc-36d423e2032e98305799071b831691fc4c06deea.tar.xz glibc-36d423e2032e98305799071b831691fc4c06deea.zip |
linux: Use long int for syscall return value
The linux syscall ABI returns long, so the generic syscall code for linux should use long for the return value. This fixes the truncation of the return value of the syscall function when that does not fit into an int. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc/bits/siginfo-consts-arch.h')
0 files changed, 0 insertions, 0 deletions