]> sourceware.org Git - glibc.git/commit
Fix pread consolidation on ports that require argument alignment
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 14 Apr 2016 19:41:33 +0000 (16:41 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 14 Apr 2016 19:49:40 +0000 (16:49 -0300)
commit41e77f36d47526544a5ea6486d44ef188f1efc53
tree67541a711ba82ee79c1a50f0b9e1339d08997a8d
parent186fe877f3df0b84d57dfbf0386f6332c6aa69bc
Fix pread consolidation on ports that require argument alignment

This patch fixes the __ALIGNMENT_{ARG,COUNT} definition for ports that
define __ASSUME_ALIGNED_REGISTER_PAIRS by including the kernel-features.h
(where it is defined if the case).

This was shown on arm with failing cases:

FAIL: debug/tst-chk1
FAIL: debug/tst-chk2
FAIL: debug/tst-chk3
FAIL: debug/tst-chk4
FAIL: debug/tst-chk5
FAIL: debug/tst-chk6
FAIL: debug/tst-lfschk1
FAIL: debug/tst-lfschk2
FAIL: debug/tst-lfschk3
FAIL: debug/tst-lfschk4
FAIL: debug/tst-lfschk5
FAIL: debug/tst-lfschk6
FAIL: posix/tst-preadwrite
FAIL: posix/tst-preadwrite64

The patches fixes it.  Tested on armhf.

* sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
ChangeLog
sysdeps/unix/sysv/linux/sysdep.h
This page took 0.042637 seconds and 5 git commands to generate.