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>
Thu, 20 Oct 2011 14:00:19 +0000 (15:00 +0100)
commit39ad56805a3bcf259d7549e73a3c9d557c2efd7b
tree2dceb6b973b2c5e0de007b606812ab0fa3d06235
parenta74e33535fa27c758d2a23ebf5f8964bf19940bc
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