diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2015-02-19 13:47:20 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-02-19 13:47:20 +0100 |
commit | a8140f36af2a8b63fd507bd8c1fa00df7819e0de (patch) | |
tree | 4fb445ab51030bae2fefb4529538e2899fa03146 /usr | |
parent | MIPS: HTW: Prevent accidental HTW start due to nested htw_{start, stop} (diff) | |
download | linux-a8140f36af2a8b63fd507bd8c1fa00df7819e0de.tar.xz linux-a8140f36af2a8b63fd507bd8c1fa00df7819e0de.zip |
MIPS: Makefile: Pass -march option on Loongson3A cores
The loongson 3A cores do not select a suitable -march option so the build
system uses the default one from the toolchain. This may or may not be
suitable for a loongson 3A build. In order to avoid that, we explicitly set
a suitable -march option for that core. Furthermore, some very old
compilers don't support -march= at all and there is the possibility of
toolchain combinations such as GCC 4.9 and binutils 2.24 for which
-march=loongson3a will result in MIPS64 R2 code being generated but then
rejected by GAS. So treat the Longsoon 3A as an R2 CPU.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions