summaryrefslogtreecommitdiff
path: root/arch/alpha/Makefile
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-04-07 13:36:10 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-20 19:26:28 +0400
commitefb5fbe89cdcc97ce170bf53c0764d7d00b7a4a6 (patch)
tree0c63af071bbf7dab185157ba625b34b394a441f0 /arch/alpha/Makefile
parent30d03769e318ea195cbc30333eab29a653c9bdf6 (diff)
downloadlinux-efb5fbe89cdcc97ce170bf53c0764d7d00b7a4a6.tar.xz
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. Reviewed-by: Matt Turner <mattst88@gmail.com> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> 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>
Diffstat (limited to 'arch/alpha/Makefile')
-rw-r--r--arch/alpha/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/Makefile b/arch/alpha/Makefile
index 4759fe751aa1..2cc3cc519c54 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