]> 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>
Thu, 28 Jul 2011 15:05:17 +0000 (16:05 +0100)
commit8839bae948bf3e1e5682ade84d2bafb2bb465e60
tree883e9b4ebdbb18e08f5c0e0283e072e5ccb6fa9d
parent2a9ce5ca9846a3acaade6e76bd19112e66ecd56e
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