new binutils breaks "tlbie" instruction in kernel?

David Woodhouse dwmw2 at infradead.org
Fri Feb 4 21:11:30 EST 2005


On Thu, 2005-02-03 at 09:02 -0600, Chris Friesen wrote:
> > Wasn't it fixed ?
> 
> Not sure what "it" you mean.  The current kernel code does not have the 
> third parm.  I'm not sure about the latest binutils, but 2.15.92.0.2 is 
> what a vendor wants to build on.

Binutils was changed in early September last year to require the extra
argument. We objected, and it was fixed again about a month later to
_not_ require the argument. If you're using 2.15.92.0.2, then apply this
patch to it:

2004-10-09  Alan Modra  <amodra at bigpond.net.au>

	* ppc-opc.c: Revert 2004-09-09 change.

--- opcodes/ppc-opc.c	7 Oct 2004 15:34:08 -0000	1.76
+++ opcodes/ppc-opc.c	9 Oct 2004 01:21:03 -0000	1.77
@@ -300,7 +300,7 @@ const struct powerpc_operand powerpc_ope
 
   /* The L field in a D or X form instruction.  */
 #define L FXM4 + 1
-  { 1, 21, 0, 0, 0 },
+  { 1, 21, 0, 0, PPC_OPERAND_OPTIONAL },
 
   /* The LEV field in a POWER SC form instruction.  */
 #define LEV L + 1


-- 
dwmw2





More information about the Linuxppc-dev mailing list