about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <gmail@redhat.com>2011-01-12 20:59:32 -0500
committerUlrich Drepper <gmail@redhat.com>2011-01-12 20:59:32 -0500
commit5e49c52efdb37eb0aa315156f39056f25ff9ddaa (patch)
tree92d5595b16fcbab5a49fb06a258ec0c6dc736acb
parent60522a5f4798c65ac4dbe895c986f690cd69a3fd (diff)
downloadglibc-5e49c52efdb37eb0aa315156f39056f25ff9ddaa.tar.gz
glibc-5e49c52efdb37eb0aa315156f39056f25ff9ddaa.tar.xz
glibc-5e49c52efdb37eb0aa315156f39056f25ff9ddaa.zip
Fix alignment in x86 destructor calls.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/i386/Makefile1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 769b785581..b969183f54 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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]
diff --git a/sysdeps/i386/Makefile b/sysdeps/i386/Makefile
index ef45ce6e78..3d9f3fc358 100644
--- a/sysdeps/i386/Makefile
+++ b/sysdeps/i386/Makefile
@@ -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