]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: microblaze: fix build failure after opcodes update
authorMike Frysinger <vapier@gentoo.org>
Thu, 19 Feb 2015 08:41:36 +0000 (03:41 -0500)
committerMike Frysinger <vapier@gentoo.org>
Thu, 19 Feb 2015 08:43:45 +0000 (03:43 -0500)
Commit 07774fccc3280323f43db9ed204f628503b34663 update the microblaze
opcodes table to avoid C++ collisions, but missed updating the sim.
That caused it to fail to build due to missing keywords.

sim/microblaze/ChangeLog
sim/microblaze/microblaze.isa

index bed555ffdb400ed034aa7b93204132f2be544a2b..c6b72b5de969cb9399853a10cd50fb73a7fb2cde 100644 (file)
@@ -1,3 +1,7 @@
+2015-02-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * microblaze.isa: Add "microblaze_" prefix to "or", "and", and "xor".
+
 2014-08-19  Alan Modra  <amodra@gmail.com>
 
        * configure: Regenerate.
index 0856c2b1aa4561474cb0807322ff4eb9daea33c7..4ad5692e77776119e9bc7b0be5dd1610c902876b 100644 (file)
@@ -261,19 +261,19 @@ INSTRUCTION(ncput,
             INST_TYPE_R1_IMM12,
             PC += INST_SIZE) 
 
-INSTRUCTION(or,
+INSTRUCTION(microblaze_or,
            0x20,
             INST_TYPE_RD_RA_RB,
            RD = RA | RB;
            PC += INST_SIZE)
 
-INSTRUCTION(and,
+INSTRUCTION(microblaze_and,
            0x21,
             INST_TYPE_RD_RA_RB,
            RD = RA & RB;
            PC += INST_SIZE)
 
-INSTRUCTION(xor,
+INSTRUCTION(microblaze_xor,
            0x22,
             INST_TYPE_RD_RA_RB,
            RD = RA ^ RB;