From: Eric Botcazou Date: Mon, 2 Jun 2014 11:11:17 +0000 (+0200) Subject: This fixes a thinko in the LEON support recently added to the assembler. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec9a8169c363a80c51d9d603f00637bc4fe97b4d;p=binutils-gdb.git This fixes a thinko in the LEON support recently added to the assembler. opcodes/ * sparc-opc.c (cas): Disable for LEON. (casl): Likewise. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index d687a8d04ef..ea036b1778c 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2014-06-02 Eric Botcazou + + * sparc-opc.c (cas): Disable for LEON. + (casl): Likewise. + 2014-05-20 Alan Modra * m68k-dis.c: Don't include setjmp.h. diff --git a/opcodes/sparc-opc.c b/opcodes/sparc-opc.c index 659c5482634..67176e608e0 100644 --- a/opcodes/sparc-opc.c +++ b/opcodes/sparc-opc.c @@ -1797,8 +1797,8 @@ SLCBCC("cbnefr", 15), { "signx", F3(2, 0x27, 0), F3(~2, ~0x27, ~0)|(1<<12)|ASI(~0)|RS2_G0, "r", F_ALIAS, 0, v9 }, /* sra rd,%g0,rd */ { "clruw", F3(2, 0x26, 0), F3(~2, ~0x26, ~0)|(1<<12)|ASI(~0)|RS2_G0, "1,d", F_ALIAS, 0, v9 }, /* srl rs1,%g0,rd */ { "clruw", F3(2, 0x26, 0), F3(~2, ~0x26, ~0)|(1<<12)|ASI(~0)|RS2_G0, "r", F_ALIAS, 0, v9 }, /* srl rd,%g0,rd */ -{ "cas", F3(3, 0x3c, 0)|ASI(0x80), F3(~3, ~0x3c, ~0)|ASI(~0x80), "[1],2,d", F_ALIAS, 0, v9andleon }, /* casa [rs1]ASI_P,rs2,rd */ -{ "casl", F3(3, 0x3c, 0)|ASI(0x88), F3(~3, ~0x3c, ~0)|ASI(~0x88), "[1],2,d", F_ALIAS, 0, v9andleon }, /* casa [rs1]ASI_P_L,rs2,rd */ +{ "cas", F3(3, 0x3c, 0)|ASI(0x80), F3(~3, ~0x3c, ~0)|ASI(~0x80), "[1],2,d", F_ALIAS, 0, v9 }, /* casa [rs1]ASI_P,rs2,rd */ +{ "casl", F3(3, 0x3c, 0)|ASI(0x88), F3(~3, ~0x3c, ~0)|ASI(~0x88), "[1],2,d", F_ALIAS, 0, v9 }, /* casa [rs1]ASI_P_L,rs2,rd */ { "casx", F3(3, 0x3e, 0)|ASI(0x80), F3(~3, ~0x3e, ~0)|ASI(~0x80), "[1],2,d", F_ALIAS, 0, v9 }, /* casxa [rs1]ASI_P,rs2,rd */ { "casxl", F3(3, 0x3e, 0)|ASI(0x88), F3(~3, ~0x3e, ~0)|ASI(~0x88), "[1],2,d", F_ALIAS, 0, v9 }, /* casxa [rs1]ASI_P_L,rs2,rd */