OSDN Git Service

MIPS: SB1: Fix excessive kernel warnings.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 28 May 2014 06:36:23 +0000 (08:36 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 28 May 2014 06:42:23 +0000 (08:42 +0200)
commitbb6c0bd3fdb67c8a1fceea1d4700b9ee593309f9
treec4b00b61b897a2e4ac51540e80c4fcb93977cd66
parent66ef3fab94df1004ed02c292d3d4e78485bfc615
MIPS: SB1: Fix excessive kernel warnings.

A kernel build with binutils 2.24 is going to emit warnings like

  CC      kernel/sys.o
{standard input}: Assembler messages:
{standard input}:701: Warning: the 32-bit MIPS architecture does not support the `mdmx' extension
{standard input}:701: Warning: the `mdmx' extension requires 64-bit FPRs
{standard input}:701: Warning: the `mips3d' extension requires MIPS32 revision 2 or greater
{standard input}:701: Warning: the `mips3d' extension requires 64-bit FPRs

for almost every file.  This is caused by changes to gas' interpretation
of .set semantics.  Fixed by explicitly disabling MIPS3D and MDMX for
Sibyte builds.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Makefile