diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.com> | 2015-10-17 16:56:27 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2015-12-17 18:16:59 -0200 |
commit | fc48bfbc796e3825b6048df9146ce91c0baec0c8 (patch) | |
tree | 56c6a81e4e88e8bd6764fdaa4cc6f3d13d28928e /ChangeLog | |
parent | 8ead7a9b94a085e6fba69b8b22e2ba0e2677f0d5 (diff) | |
download | glibc-fc48bfbc796e3825b6048df9146ce91c0baec0c8.tar glibc-fc48bfbc796e3825b6048df9146ce91c0baec0c8.tar.gz glibc-fc48bfbc796e3825b6048df9146ce91c0baec0c8.tar.bz2 glibc-fc48bfbc796e3825b6048df9146ce91c0baec0c8.zip |
Fix SYSCALL_CANCEL for empty argumetns
This patch fixes the SYSCALL_CANCEL macro for usage with zero argument
number (for instance SYSCALL_CANCEL (pause)) using a similar approach
used for SOCKETCALL_CANCEL.
GLIBC build still does not hit this issue still since SYSCALL_CANCEL
is not currently being used for zero arguments calls.
Tested on i386, x86_64, powerpc64le, aarch64.
* sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
syscalls.
(__SYSCALL0): New macro.
(__SYSCALL1): Likewise.
(__SYSCALL2): Likewise.
(__SYSCALL3): Likewise.
(__SYSCALL4): Likewise.
(__SYSCALL5): Likewise.
(__SYSCALL6): Likewise.
(__SYSCALL7): Likewise.
(__SYSCALL_CONCAT_X): Likewise.
(__SYSCALL_CONCAT): Likewise.
(__SYSCALL_DIST): Likewise.
(__SYSCALL_CALL): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1,3 +1,19 @@ +2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org> + + * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument + syscalls. + (__SYSCALL0): New macro. + (__SYSCALL1): Likewise. + (__SYSCALL2): Likewise. + (__SYSCALL3): Likewise. + (__SYSCALL4): Likewise. + (__SYSCALL5): Likewise. + (__SYSCALL6): Likewise. + (__SYSCALL_CONCAT_X): Likewise. + (__SYSCALL_CONCAT): Likewise. + (__SYSCALL_DIST): Likewise. + (__SYSCALL_CALL): Likewise. + 2015-12-17 H.J. Lu <hongjiu.lu@intel.com> [BZ #19363] @@ -5,6 +21,7 @@ 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org> + [BZ #19375] * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for negative subnormals. |