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)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 10 Sep 2013 00:57:31 +0000 (01:57 +0100)
commit1e11845dc7a6e16ff4f65b25a09b1e07aeaf484a
tree266e6aff4a134e821568acfecf6655d06c8d9cfd
parentcaafbc41c4c3627192662c7261dc73272ab4b1ca
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/alpha/Makefile