[ 3.5.y.z extended stable ] Patch "alpha: makefile: don't enforce small data model for kernel" has been added to staging queue

Luis Henriques luis.henriques at canonical.com
Fri Aug 23 09:38:03 UTC 2013


This is a note to let you know that I have just added a patch titled

    alpha: makefile: don't enforce small data model for kernel

to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree 
which can be found at:

 http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.5.y-queue

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.5.y.z tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable

Thanks.
-Luis

------

>From 8c5a9df0f3ddd9d732360219da529c5317203ba1 Mon Sep 17 00:00:00 2001
From: Will Deacon <will.deacon at arm.com>
Date: Sun, 7 Apr 2013 21:36:10 +1200
Subject: [PATCH] alpha: makefile: don't enforce small data model for kernel
 builds

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 at twiddle.net>
Cc: Ivan Kokshaysky <ink at jurassic.park.msu.ru>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Tested-by: Thorsten Kranzkowski <dl8bcu at dl8bcu.de>
Signed-off-by: Will Deacon <will.deacon at arm.com>
Signed-off-by: Michael Cree <mcree at orcon.net.nz>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
Signed-off-by: Luis Henriques <luis.henriques at canonical.com>
---
 arch/alpha/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/alpha/Makefile b/arch/alpha/Makefile
index 4759fe7..2cc3cc5 100644
--- 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
--
1.8.3.2





More information about the kernel-team mailing list