Fix alignment in x86 destructor calls.

This commit is contained in:
Ulrich Drepper 2011-01-12 20:59:32 -05:00
parent 60522a5f47
commit 5e49c52efd
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
* sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
alignment for SSE2.
2011-01-12 Ulrich Drepper <drepper@gmail.com>
[BZ #12394]

View File

@ -47,6 +47,7 @@ endif
# And a couple of other routines
ifeq ($(subdir),stdlib)
CFLAGS-exit.c += -mpreferred-stack-boundary=4
CFLAGS-cxa_finalize.c += -mpreferred-stack-boundary=4
endif
ifeq ($(subdir),elf)
CFLAGS-dl-init.c += -mpreferred-stack-boundary=4