Fix obstack* on i?86

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.
This commit is contained in:
Jakub Jelinek 2009-07-31 07:26:36 -07:00 committed by Ulrich Drepper
parent 5b938b2543
commit 1877ea16ca
2 changed files with 5 additions and 0 deletions

View File

@ -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.

View 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 $@