alpha: makefile: don't enforce small data model for kernel builds
authorWill Deacon <will.deacon@arm.com>
Sun, 7 Apr 2013 09:36:10 +0000 (21:36 +1200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 7 Apr 2013 19:59:30 +0000 (12:59 -0700)
commitcd8d2331756751b6aeb855a3c9cb0a92fbd9c725
tree597917e36670fc7da01aebe0e3f86d45dc85390c
parentaa8b4be3ac049c8b1df2a87e4d1d902ccfc1f7a9
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 <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>
arch/alpha/Makefile