1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/glibc/2.6/140-i386-preferred-stack-boundary.patch Fri Nov 18 11:32:50 2011 +0800
1.3 @@ -0,0 +1,18 @@
1.4 +(C) 2007 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
1.5 +License: LGPL v2.1
1.6 +
1.7 +Shut off a stupid warning: preffered-stack-boundary must be between 4 ad 12,
1.8 +and 2 is not.
1.9 +
1.10 +diff -dur glibc-2.5.orig/sysdeps/i386/Makefile glibc-2.5/sysdeps/i386/Makefile
1.11 +--- glibc-2.5.orig/sysdeps/i386/Makefile 2005-03-06 01:18:16.000000000 +0100
1.12 ++++ glibc-2.5/sysdeps/i386/Makefile 2007-05-27 17:49:37.000000000 +0200
1.13 +@@ -36,7 +36,7 @@
1.14 + ifeq ($(subdir),csu)
1.15 + sysdep-CFLAGS += -mpreferred-stack-boundary=4
1.16 + else
1.17 +-sysdep-CFLAGS += -mpreferred-stack-boundary=2
1.18 ++sysdep-CFLAGS += -mpreferred-stack-boundary=4
1.19 + # Likewise, any function which calls user callbacks
1.20 + uses-callbacks += -mpreferred-stack-boundary=4
1.21 + # Likewise, any stack alignment tests