DragonFly-2.3.1.379.geb9f47 master lib/libc/amd64 DEFS.h SYS.h l

看板DFBSD_commit作者時間16年前 (2009/06/22 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit eb9f4715e9826cbe89be0778e43ed144bcd1d5bc Author: Peter Avalos <pavalos@dragonflybsd.org> Date: Sun Apr 26 03:57:31 2009 +0000 Update some of the amd64 parts of libc: * Change the syscall stub branch orders so that the static branch prediction will assume that syscalls will succeed rather than fail. * Add error handling for PSEUDO syscalls. * Add END() macros for Assembler code. This causes the symbol table to include the size of the function. * ldexp: Fix a typo in the !__GNUC__ case and remove an obsolete comment. * setjmp/longjmp changes: -Save and restore the control part of the MXCSR in addition to the i387 control word to ensure that the two are consistent. -Don't clobber the FPU exception flags in longjmp. C99 requires them to remain unchanged. Obtained-from: FreeBSD Summary of changes: lib/libc/amd64/DEFS.h | 42 ---------------------------------- lib/libc/amd64/SYS.h | 42 +++++++++++++++++---------------- lib/libc/amd64/gen/_setjmp.S | 19 ++++++++++----- lib/libc/amd64/gen/fabs.S | 3 +- lib/libc/amd64/gen/ldexp.c | 12 ++------- lib/libc/amd64/gen/modf.S | 9 ++----- lib/libc/amd64/gen/rfork_thread.S | 3 +- lib/libc/amd64/gen/setjmp.S | 19 ++++++++++----- lib/libc/amd64/gen/sigsetjmp.S | 11 +++----- lib/libc/amd64/sys/brk.S | 9 +++---- lib/libc/amd64/sys/exect.S | 7 +---- lib/libc/amd64/sys/pipe.S | 23 +++++++++++++----- lib/libc/amd64/sys/ptrace.S | 1 + lib/libc/amd64/sys/reboot.S | 23 +++++++++++++----- lib/libc/amd64/sys/sbrk.S | 7 +---- lib/libc/amd64/sys/setlogin.S | 23 +++++++++++++----- lib/libc/amd64/sys/sigreturn.S | 6 +---- lib/libc/amd64/sys/vfork.S | 7 +---- lib/libc/i386/SYS.h | 25 ++++++++------------ lib/libc/sys/Makefile.inc | 2 +- lib/libc_r/arch/amd64/_atomic_lock.S | 2 +- lib/libstand/i386/_setjmp.S | 2 +- 22 files changed, 138 insertions(+), 159 deletions(-) delete mode 100644 lib/libc/amd64/DEFS.h http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/eb9f4715e9826cbe89be0778e43ed144bcd1d5bc -- DragonFly BSD source repository
文章代碼(AID): #1AFdLc00 (DFBSD_commit)