diff options
author | Chris Metcalf <cmetcalf@ezchip.com> | 2015-01-05 12:06:15 -0500 |
---|---|---|
committer | Chris Metcalf <cmetcalf@ezchip.com> | 2015-01-05 12:06:15 -0500 |
commit | 7ea793f39ca1362bc1d6587d29b1e7f52eb8a9a1 (patch) | |
tree | d652659b16f7182dad990df318c9d5aeab8b0a92 /ChangeLog | |
parent | 1dca195e1c50d69fa4f0d18e821ec68f5d286df4 (diff) | |
download | glibc-7ea793f39ca1362bc1d6587d29b1e7f52eb8a9a1.zip glibc-7ea793f39ca1362bc1d6587d29b1e7f52eb8a9a1.tar.gz glibc-7ea793f39ca1362bc1d6587d29b1e7f52eb8a9a1.tar.bz2 |
tile: check error properly for vDSO calls
The tile vDSO vsyscalls were not properly setting the error value.
Conventionally, tile returns the same "non-negative success, negative
errno" value that x86 does (in r0), but it also returns "zero or positive
errno" in r1, which is what the regular syscall code checks. This change
uses that convention for the vDSO calls as well.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,12 @@ 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com> + * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type + for __vdso_* functions in declarations. + * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for + definitions. + * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL, + INTERNAL_VSYSCALL): Use struct return types to check for error. + * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround() function with cast from llround(). |