diff options
author | Christophe Lyon <christophe.lyon@st.com> | 2018-07-04 17:55:20 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbrodkorb@conet.de> | 2018-08-10 16:01:58 +0200 |
commit | c86f875f07f2e2ef54ce3741914a5cc74f7ddd3c (patch) | |
tree | 365e80b70dbda2f4412c34493ea69e3d2298df46 /libc/sysdeps/linux/or1k/Makefile | |
parent | 75bce1a7320f94c36854fc958fa93937ed92bf83 (diff) |
Fix bug in _dl_pread when using pread64 syscall
In ARM_EABI mode, the pread64 syscall parameters are aligned on
64-bits. This syscall is used in rtld when processing FDPIC
relocations.
* ldso/include/dl-syscall.h (__syscall_pread): Fix definition.
(__dl_pread): Fix syscall invocation.
* ldso/ldso/fdpic/dl-sysdep.h (__DL_PREAD): Handle __NR_pread64.
Signed-off-by: Mickaël Guêné <mickael.guene@st.com>
Signed-off-by: Christophe Lyon <christophe.lyon@st.com>
Diffstat (limited to 'libc/sysdeps/linux/or1k/Makefile')
0 files changed, 0 insertions, 0 deletions