diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-07-31 07:26:36 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-07-31 07:26:36 -0700 |
commit | 1877ea16ca0714abd715d6ce0aa1b840c3850241 (patch) | |
tree | 581b81cc1ea5c0cc8abb786bcf65388b30278928 | |
parent | 5b938b2543c991be88a06fd7438f804d05358ac1 (diff) | |
download | glibc-1877ea16ca0714abd715d6ce0aa1b840c3850241.zip glibc-1877ea16ca0714abd715d6ce0aa1b840c3850241.tar.gz glibc-1877ea16ca0714abd715d6ce0aa1b840c3850241.tar.bz2 |
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.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | malloc/Makefile | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -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. diff --git a/malloc/Makefile b/malloc/Makefile index 1099335..e7ec1ab 100644 --- a/malloc/Makefile +++ b/malloc/Makefile @@ -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 $@ |