Messages in this thread | | | From | Andreas Schwab <> | Subject | Re: [RFC5 PATCH v6 00/21] ILP32 for ARM64 | Date | Thu, 25 Feb 2016 11:50:31 +0100 |
| |
Yury Norov <ynorov@caviumnetworks.com> writes:
> I have new glibc that follows new ABI: > https://github.com/norov/glibc/tree/new-api
sysdeps/unix/sysv/linux/aarch64/ilp32/getdents64.c is wrong, struct dirent64 is not the same as struct dirent. The file needs to be renamed to sysdeps/unix/sysv/linux/aarch64/ilp32/getdents.c so that __getdents64 comes from sysdeps/unix/sysv/linux/generic/getdents64.c.
sysdeps/unix/sysv/linux/aarch64/ilp32/*xstat*.c should not set errno, INLINE_SYSCALL already does that, and returns -1 on error.
Andreas.
-- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
| |