Problems with compiling ldstfp.S

Sean MacLennan smaclennan at pikatech.com
Sun Aug 22 16:00:49 EST 2010


The new file ldstfp.S is getting pulled in on the Warp due to
CONFIG_KPROBES, but does not compile:

  AS      arch/powerpc/lib/ldstfp.o
arch/powerpc/lib/ldstfp.S: Assembler messages:
arch/powerpc/lib/ldstfp.S:84: Error: Unrecognized opcode: `mtmsrd'
arch/powerpc/lib/ldstfp.S:96: Error: Unrecognized opcode: `mtmsrd'
arch/powerpc/lib/ldstfp.S:111: Error: Unrecognized opcode: `mtmsrd'
arch/powerpc/lib/ldstfp.S:123: Error: Unrecognized opcode: `mtmsrd'
arch/powerpc/lib/ldstfp.S:138: Error: Unrecognized opcode: `mtmsrd'
arch/powerpc/lib/ldstfp.S:150: Error: Unrecognized opcode: `mtmsrd'
arch/powerpc/lib/ldstfp.S:165: Error: Unrecognized opcode: `mtmsrd'
arch/powerpc/lib/ldstfp.S:177: Error: Unrecognized opcode: `mtmsrd'
make[1]: *** [arch/powerpc/lib/ldstfp.o] Error 1

The Warp has a 440EP processor which does have floating point. But it
looks like mtmsrd is only defined for PPC64.

I would hate to lose KPROBES, it has been a huge help.

Cheers,
   Sean


More information about the Linuxppc-dev mailing list