| Commit message (Expand) | Author | Age | Files | Lines |
| * | fix inconsistent visibility for internal syscall symbols | Rich Felker | 2015-04-14 | 1 | -0/+1 |
| * | use hidden visibility for i386 asm-internal __vsyscall symbol•••otherwise the call instruction in the inline syscall asm results in
textrels without ld-time binding.
| Rich Felker | 2015-04-14 | 1 | -0/+2 |
| * | fix clobber of edx in i386 vsyscall asm•••this function does not obey the normal calling convention; like a
syscall instruction, it's expected not to clobber any registers except
the return value. clobbering edx could break callers that were reusing
the value cached in edx after the syscall returns.
| Rich Felker | 2012-11-11 | 1 | -1/+2 |
| * | comment possibly-confusing i386 vsyscall asm | Rich Felker | 2012-10-11 | 1 | -1/+13 |
| * | i386 vsyscall support (vdso-provided sysenter/syscall instruction based)•••this doubles the performance of the fastest syscalls on the atom I
tested it on; improvement is reportedly much more dramatic on
worst-case cpus. cannot be used for cancellable syscalls.
| Rich Felker | 2012-10-11 | 1 | -16/+58 |
| * | restore use of .type in asm, but use modern @function (vs %function)•••this seems to be necessary to make the linker accept the functions in
a shared library (perhaps to generate PLT entries?)
strictly speaking libc-internal asm should not need it. i might clean
that up later.
| Rich Felker | 2011-06-14 | 1 | -0/+1 |
| * | remove all .size and .type directives for functions from the asm•••these are useless and have caused problems for users trying to build
with non-gnu tools like tcc's assembler.
| Rich Felker | 2011-06-13 | 1 | -2/+0 |
| * | overhaul syscall interface•••this commit shuffles around the location of syscall definitions so
that we can make a syscall() library function with both SYS_* and
__NR_* style syscall names available to user applications, provides
the syscall() library function, and optimizes the code that performs
the actual inline syscalls in the library itself.
previously on i386 when built as PIC (shared library), syscalls were
incurring bus lock (lock prefix) overhead at entry and exit, due to
the way the ebx register was being loaded (xchg instruction with a
memory operand). now the xchg takes place between two registers.
further cleanup to arch/$(ARCH)/syscall.h is planned.
| Rich Felker | 2011-03-19 | 1 | -0/+21 |