Linux 3.9 has: commit cd8d2331756751b6aeb855a3c9cb0a92fbd9c725 Author: Will Deacon <will.dea...@arm.com> Date: Sun Apr 7 21:36:10 2013 +1200
alpha: makefile: don't enforce small data model for kernel builds 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 <r...@twiddle.net> Cc: Ivan Kokshaysky <i...@jurassic.park.msu.ru> Reviewed-by: Matt Turner <matts...@gmail.com> Tested-by: Thorsten Kranzkowski <dl8...@dl8bcu.de> Signed-off-by: Will Deacon <will.dea...@arm.com> Signed-off-by: Michael Cree <mc...@orcon.net.nz> Signed-off-by: Linus Torvalds <torva...@linux-foundation.org> 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 --- So I'm assuming that your patch to explicitly use large-data is no longer necessary, and have dropped it. If this is not the case, please let me know. Ben. -- Ben Hutchings If God had intended Man to program, we'd have been born with serial I/O ports.
signature.asc
Description: This is a digitally signed message part