git: csu x86_64 - properly align stack

Alex Hornung alexh at crater.dragonflybsd.org
Sat Jul 30 02:13:34 PDT 2011


commit c7a4cde72d531a700a01278b1a3596efd362767d
Author: Alex Hornung <ahornung at gmail.com>
Date:   Sat Jul 30 09:04:14 2011 +0100

    csu x86_64 - properly align stack
    
     * Properly align the stack for the _init and _fini function calls
       as expected by the x86_64 ABI and gcc.
    
     * This solves a bus error (unaligned MOVDQA) with pixman and some
       other stuff using SSE.

Summary of changes:
 lib/csu/x86_64/crti.S |    2 ++
 lib/csu/x86_64/crtn.S |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c7a4cde72d531a700a01278b1a3596efd362767d


-- 
DragonFly BSD source repository





More information about the Commits mailing list