]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.4-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Aug 2013 01:38:00 +0000 (18:38 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Aug 2013 01:38:00 +0000 (18:38 -0700)
added patches:
alpha-makefile-don-t-enforce-small-data-model-for-kernel-builds.patch

queue-3.4/alpha-makefile-don-t-enforce-small-data-model-for-kernel-builds.patch [new file with mode: 0644]
queue-3.4/series

diff --git a/queue-3.4/alpha-makefile-don-t-enforce-small-data-model-for-kernel-builds.patch b/queue-3.4/alpha-makefile-don-t-enforce-small-data-model-for-kernel-builds.patch
new file mode 100644 (file)
index 0000000..1e3cc19
--- /dev/null
@@ -0,0 +1,41 @@
+From cd8d2331756751b6aeb855a3c9cb0a92fbd9c725 Mon Sep 17 00:00:00 2001
+From: Will Deacon <will.deacon@arm.com>
+Date: Sun, 7 Apr 2013 21:36:10 +1200
+Subject: alpha: makefile: don't enforce small data model for kernel builds
+
+From: Will Deacon <will.deacon@arm.com>
+
+commit cd8d2331756751b6aeb855a3c9cb0a92fbd9c725 upstream.
+
+Due to all of the goodness being packed into today's kernels, the
+resulting image isn't as slim as it once was.
+
+In light of this, don't pass -msmall-data to gcc, which otherwise results
+in link failures due to impossible relocations when compiling anything but
+the most trivial configurations.
+
+Cc: Richard Henderson <rth@twiddle.net>
+Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
+Reviewed-by: Matt Turner <mattst88@gmail.com>
+Tested-by: Thorsten Kranzkowski <dl8bcu@dl8bcu.de>
+Signed-off-by: Will Deacon <will.deacon@arm.com>
+Signed-off-by: Michael Cree <mcree@orcon.net.nz>
+Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
+Cc: Guenter Roeck <linux@roeck-us.net>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ arch/alpha/Makefile |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/arch/alpha/Makefile
++++ b/arch/alpha/Makefile
+@@ -12,7 +12,7 @@ NM := $(NM) -B
+ LDFLAGS_vmlinux       := -static -N #-relax
+ CHECKFLAGS    += -D__alpha__ -m64
+-cflags-y      := -pipe -mno-fp-regs -ffixed-8 -msmall-data
++cflags-y      := -pipe -mno-fp-regs -ffixed-8
+ cflags-y      += $(call cc-option, -fno-jump-tables)
+ cpuflags-$(CONFIG_ALPHA_EV4)          := -mcpu=ev4
index 4c5a157d4a6a8995e6d4b089eab391f4a54d12d6..e857d57567380312cced1a3908e1e249b8e85d6d 100644 (file)
@@ -14,3 +14,4 @@ futex-take-hugepages-into-account-when-generating-futex_key.patch
 frv-use-correct-size-for-task_struct-allocation.patch
 frv-use-core-allocator-for-task_struct.patch
 powerpc-numa-avoid-stupid-uninitialized-warning-from-gcc.patch
+alpha-makefile-don-t-enforce-small-data-model-for-kernel-builds.patch