DragonFly-2.3.1.379.geb9f47 master lib/libc/amd64 DEFS.h SYS.h lib/libc/amd64/gen _setjmp.S fabs.S ldexp.c modf.S rfork_thread.S setjmp.S sigsetjmp.S lib/libc/amd64/sys brk.S exect.S pipe.S ptrace.S reboot.S sbrk.S setlogin.S sigreturn.S vfork.S lib/libc/i386 SYS.h lib/libc/sys Makefile.inc lib/libc_r/arch/amd64 _atomic_lock.S lib/libstand/i386 _setjmp.S

Peter Avalos pavalos at crater.dragonflybsd.org
Sun Jun 21 10:23:27 PDT 2009


commit eb9f4715e9826cbe89be0778e43ed144bcd1d5bc
Author: Peter Avalos <pavalos at 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





More information about the Commits mailing list