aboutsummaryrefslogtreecommitdiff
path: root/patches/glibc/2.6/170-glibc-i386-preferred-stack-boundary.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-09-23 17:08:09 +0000
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-09-23 17:08:09 +0000
commitb1e693e40281dc8c451e8892dfcdf55d78a4ade3 (patch)
treec276bc44f23b42895b459efbf2597f4bef378819 /patches/glibc/2.6/170-glibc-i386-preferred-stack-boundary.patch
parent3ad6464ffe38eb15591b404e0749aa89f4074fd1 (diff)
downloadcrosstool-ng-b1e693e40281dc8c451e8892dfcdf55d78a4ade3.tar.gz
crosstool-ng-b1e693e40281dc8c451e8892dfcdf55d78a4ade3.tar.bz2
crosstool-ng-b1e693e40281dc8c451e8892dfcdf55d78a4ade3.zip
Renamed all patches file names so that locales are now irrelevant to sort the files.
Removed the locale check as it is now irrelevant. Removed the experimental binutils 2.17.50.0.xx: 2.18 is here now.
Diffstat (limited to 'patches/glibc/2.6/170-glibc-i386-preferred-stack-boundary.patch')
-rw-r--r--patches/glibc/2.6/170-glibc-i386-preferred-stack-boundary.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/glibc/2.6/170-glibc-i386-preferred-stack-boundary.patch b/patches/glibc/2.6/170-glibc-i386-preferred-stack-boundary.patch
new file mode 100644
index 00000000..449821d8
--- /dev/null
+++ b/patches/glibc/2.6/170-glibc-i386-preferred-stack-boundary.patch
@@ -0,0 +1,18 @@
+(C) 2007 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
+License: LGPL v2.1
+
+Shut off a stupid warning: preffered-stack-boundary must be between 4 ad 12,
+and 2 is not.
+
+diff -dur glibc-2.5.orig/sysdeps/i386/Makefile glibc-2.5/sysdeps/i386/Makefile
+--- glibc-2.5.orig/sysdeps/i386/Makefile 2005-03-06 01:18:16.000000000 +0100
++++ glibc-2.5/sysdeps/i386/Makefile 2007-05-27 17:49:37.000000000 +0200
+@@ -36,7 +36,7 @@
+ ifeq ($(subdir),csu)
+ sysdep-CFLAGS += -mpreferred-stack-boundary=4
+ else
+-sysdep-CFLAGS += -mpreferred-stack-boundary=2
++sysdep-CFLAGS += -mpreferred-stack-boundary=4
+ # Likewise, any function which calls user callbacks
+ uses-callbacks += -mpreferred-stack-boundary=4
+ # Likewise, any stack alignment tests