musl/arch/microblaze
Rich Felker 28198ac3af fix passing of 64-bit syscall arguments on microblaze
this has been wrong since the beginning of the microblaze port: the
syscall ABI for microblaze does not align 64-bit arguments on even
register boundaries. commit 788d5e24ca
exposed the problem by introducing references to a nonexistent
__syscall7. the ABI is not documented well anywhere, but I was able to
confirm against both strace source and glibc source that microblaze is
not using the alignment.

per the syscall(2) man page, posix_fadvise, ftruncate, pread, pwrite,
readahead, sync_file_range, and truncate were all affected and either
did not work at all, or only worked by chance, e.g. when the affected
argument slots were all zero.
2019-05-05 10:52:41 -04:00
..
bits add io_pgetevents and rseq syscall numbers from linux v4.18 2018-12-09 22:29:12 -05:00
atomic_arch.h refactor internal atomic.h 2016-01-21 19:08:54 +00:00
crt_arch.h add .text section directive to all crt_arch.h files missing it 2015-05-22 01:50:05 -04:00
pthread_arch.h make thread-pointer-loading asm non-volatile 2018-10-16 14:11:46 -04:00
reloc.h new dlstart stage-2 chaining for microblaze 2015-09-17 07:20:36 +00:00
syscall_arch.h fix passing of 64-bit syscall arguments on microblaze 2019-05-05 10:52:41 -04:00