diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-01-31 19:41:25 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-02-14 21:09:12 -0300 |
commit | 975ace4eca4990bc1948d3a7a890de7f60e7e540 (patch) | |
tree | 404ce86f6d3b1e93a5ccdf5baaf482bcc9fe7218 /sysdeps/unix/sysv/linux/posix_madvise.c | |
parent | c261718b3fda4b629ee120f48e3ee50db9c793a1 (diff) | |
download | glibc-975ace4eca4990bc1948d3a7a890de7f60e7e540.tar.gz glibc-975ace4eca4990bc1948d3a7a890de7f60e7e540.tar.xz glibc-975ace4eca4990bc1948d3a7a890de7f60e7e540.zip |
alpha: Refactor syscall and Use Linux kABI for syscall return
It highly unlikely that alpha will be ported to anything else than Linux, so this patch moves the generic unix syscall definition to Linux and adapt it to Linux kernel ABI. It changes the internal_syscall* macros to return a negative value instead of the '$19' register value on the 'err' macro argument. The macro INTERNAL_SYSCALL_DECL is no longer required, and the INTERNAL_SYSCALL_ERROR_P macro follows the other Linux kABIs. Checked on alpha-linux-gnu.
Diffstat (limited to 'sysdeps/unix/sysv/linux/posix_madvise.c')
0 files changed, 0 insertions, 0 deletions