* config/tc-cr16.c: Update the md_relax_table for 1 word b<cc> instruction range information.
+2007-10-12 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+ * elf32-cr16.c (elf32_cr16_relax_section): Fix condition check typo.
+
2007-10-12 Daniel Jacobowitz <dan@codesourcery.com>
* elfxx-mips.c (mips_elf_sort_hash_table_f): Handle forced
/* 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)
+2007-10-12 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+ * config/tc-cr16.c: Update the md_relax_table for 1 word b<cc>
+ instruction range information.
+
2007-10-12 Daniel Jacobowitz <dan@codesourcery.com>
* doc/as.texinfo (Object Attributes): New chapter.
const relax_typeS md_relax_table[] =
{
/* bCC */
- {0xfa, -0x100, 2, 1}, /* 8 */
+ {0x7f, -0x80, 2, 1}, /* 8 */
{0xfffe, -0x10000, 4, 2}, /* 16 */
{0xfffffe, -0x1000000, 6, 0}, /* 24 */
};