]> 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>
Tue, 9 Aug 2011 08:16:19 +0000 (09:16 +0100)
commitf573728a50d1474260ab88eec5abc7e281768177
tree4628971def92a329a8c2279df6e7dc7ca0bfdc5a
parentf770d1bdd971d0a9809a2c5ad99f83893dc457b5
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