]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Netlogic: Specify architecture CFLAGS
authorJayachandran C <jayachandranc@netlogicmicro.com>
Tue, 21 Jun 2011 20:06:33 +0000 (01:36 +0530)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 10 Oct 2011 17:21:03 +0000 (18:21 +0100)
commitff88beb6d95fca749fdce549e2dc9309182c43ca
tree654ac79d40ee2e9546194cbb52de00d5574f71fb
parentf3365b099e92be7c1319f931ff73b03a5baa3104
MIPS: Netlogic: Specify architecture CFLAGS

Use -march=xlr if available, otherwise fallback to mips64. This allows
us to support compilation with MIPS toolchains which are not customized
for XLR.

[ralf@linux-mips.org: And more importantly it works around a gas bug in
binutils 2.21 which otherwise may result in an assertion failure building
arch/mips/kernel/genex.S.  See
http://sourceware.org/bugzilla/show_bug.cgi?id=12915 for details.]

Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2534/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/netlogic/Platform