- Apr 06, 2017
-
-
Andrew Waterman authored
-
Andrew Waterman authored
-
- Apr 01, 2017
-
-
Palmer Dabbelt authored
I've added an additional linker relaxation that relaxes two instruction pc-relative sequences to one instruction gp relative sequences when possible. This sequence now optimizes the initial gp generation to mv gp, gp which is obviously bogus. The fix is to disable relaxations when setting up gp, preventing the linker from relaxing away this setup code.
-
- Feb 09, 2017
-
-
Palmer Dabbelt authored
-
- Feb 02, 2017
-
-
Andrew Waterman authored
-
- Feb 01, 2017
-
-
- Jan 19, 2017
-
-
Andrew Waterman authored
-
- Jan 18, 2017
-
-
Andrew Waterman authored
-
Andrew Waterman authored
-
Andrew Waterman authored
When we upstream glibc+linux, we should revisit this value.
-
Andrew Waterman authored
-
Andrew Waterman authored
-
Andrew Waterman authored
-
- Jan 17, 2017
-
-
Andrew Waterman authored
-
Andrew Waterman authored
-
Andrew Waterman authored
-
Andrew Waterman authored
-
Andrew Waterman authored
-
Andrew Waterman authored
-
- Jan 13, 2017
-
-
Andrew Waterman authored
-
Andrew Waterman authored
-
- Jan 12, 2017
-
-
Andrew Waterman authored
-
Andrew Waterman authored
-
Andrew Waterman authored
-
- Jan 07, 2017
-
-
Andrew Waterman authored
-
Andrew Waterman authored
-
Andrew Waterman authored
-
Andrew Waterman authored
-
Andrew Waterman authored
-
Andrew Waterman authored
This patch uses INLINE_SYSCALL_ERROR_RETURN_VALUE to avoid reading and writing errno directly on architectures for which factoring out the position-independent code for loading the address of errno improves performance and/or code size in the common case. * sysdeps/unix/sysv/linux/generic/epoll_create.c (epoll_create): Use INLINE_SYSCALL_ERROR_RETURN_VALUE. * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat): Likewise. * sysdeps/unix/sysv/linux/generic/sysctl.c (sysctl): Likewise. * sysdeps/unix/sysv/linux/generic/ustat.c (ustat): Likewise. * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c (do_fcntl): Likewise. * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c (__getdents): Likewise. * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Likewise. * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h (lseek_overflow, stat_overflow, statfs_overflow): Likewise. * sysdeps/unix/sysv/linux/generic/wordsize-32/sendfile.c (sendfile): Likewise. * sysdeps/unix/sysv/linux/generic/xmknod.c (__xmknod): Likewise. * sysdeps/unix/sysv/linux/generic/setegid.c (setegid): Likewise. * sysdeps/unix/sysv/linux/generic/seteuid.c (seteuid): Likewise. * sysdeps/unix/sysv/linux/generic/wordsize-64/fxstat.c (__fxstat): Likewise. * sysdeps/unix/sysv/linux/generic/wordsize-64/fxstatat.c (__fxstatat): Likewise. * sysdeps/unix/sysv/linux/generic/wordsize-64/lxstat.c (__lxstat): Likewise. * sysdeps/unix/sysv/linux/generic/wordsize-64/xstat.c (__xstat): Likewise.
-
Andrew Waterman authored
This factors out the setting of setting errno and returning -1, reducing code size.
-
- Dec 22, 2016
-
-
Andrew Waterman authored
Forgot to add the thread pointer, derp.
-
- Dec 17, 2016
-
-
Andrew Waterman authored
This makes the common case of no error faster by avoiding clobbering most of the caller-saved registers.
-
- Dec 14, 2016
-
-
Andrew Waterman authored
This resolves the ABI bug mentioned in #6. Happily, falling back to the built-in versions in the no-atomic case does the right thing (invoking sysriscv).
-
Andrew Waterman authored
-
- Dec 13, 2016
-
-
Andrew Waterman authored
Since that's the only version we support, there's no reason to support older kernel ABIs.
-
Andrew Waterman authored
-
- Dec 10, 2016
-
-
Andrew Waterman authored
-
Andrew Waterman authored
-
- Dec 09, 2016
-
-
Andrew Waterman authored
This deliberately breaks ABI compatibility, since we are changing the calling convention etc.
-