]> sourceware.org Git - glibc.git/commitdiff
Fix obstack* on i?86
authorJakub Jelinek <jakub@redhat.com>
Fri, 31 Jul 2009 14:26:36 +0000 (07:26 -0700)
committerUlrich Drepper <drepper@redhat.com>
Fri, 31 Jul 2009 14:26:36 +0000 (07:26 -0700)
obstack calls several callbacks, so on i?86 it'd better be compiled
without -mpreferred-stack-boundary=2, otherwise the callbacks are called
with misaligned stack.

ChangeLog
malloc/Makefile

index eca461fc79aa414a81761b6462ea4a7701a9ea3e..2ff87e533594b74dc4063590a8612d7cdf6d2711 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-07-31  Jakub Jelinek  <jakub@redhat.com>
+
+       * malloc/Makefile (CFLAGS-obstack.c): Add $(uses-callbacks).
+
 2009-07-30  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: New file.
index 1099335fff2960657678b9ed02b91a1fb73d6f04..e7ec1abf93c4fe1fe69b88fece40df9b2c1ca970 100644 (file)
@@ -104,6 +104,7 @@ $(objpfx)memusagestat: $(memusagestat-modules:%=$(objpfx)%.o)
 include ../Rules
 
 CFLAGS-mcheck-init.c = $(PIC-ccflag)
+CFLAGS-obstack.c = $(uses-callbacks)
 
 $(objpfx)libmcheck.a: $(objpfx)mcheck-init.o
        -rm -f $@
This page took 0.056985 seconds and 5 git commands to generate.