daily update
[deliverable/binutils-gdb.git] / bfd / elf32-cr16.c
index d0f7fd19bdb5a9ff456a0db727263d40c4529b40..76616b9eba5f406d3f3fa07a6f9959cdc731939b 100644 (file)
@@ -1337,7 +1337,7 @@ elf32_cr16_relax_section (bfd *abfd, asection *sec,
 
               /* Verify it's a arithmetic ADDD or MOVD instruction.
                  For ADDD and MOVD only, convert to IMM32 -> IMM20.  */
-              if (((code & 0xfff0) != 0x0070) || ((code & 0xfff0) != 0x0020))
+              if (((code & 0xfff0) == 0x0070) || ((code & 0xfff0) == 0x0020))
                 is_add_mov = 1;
 
               if (is_add_mov)
This page took 0.02368 seconds and 4 git commands to generate.