X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gas%2Fconfig%2Ftc-score.c;h=22da682f679436dcdeff14024c08b50e978e8dd4;hb=96d56e9f9150298df80355ce22ba007fe67f07ed;hp=c1d8f7b4ac249ff31d0892460cb30f85a070637b;hpb=4db61d312cce185840dce0ab8f0ad69b47daac69;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/config/tc-score.c b/gas/config/tc-score.c index c1d8f7b4ac..22da682f67 100644 --- a/gas/config/tc-score.c +++ b/gas/config/tc-score.c @@ -2490,7 +2490,7 @@ s3_get_insn_class_from_type (enum score_insn_type type) 32-bit instruction: 1, 0. 16-bit instruction: 0. */ static bfd_vma -s3_adjust_paritybit (bfd_vma m_code, enum insn_class class) +s3_adjust_paritybit (bfd_vma m_code, enum insn_class i_class) { bfd_vma result = 0; bfd_vma m_code_high = 0; @@ -2500,7 +2500,7 @@ s3_adjust_paritybit (bfd_vma m_code, enum insn_class class) unsigned long pb_middle = 0; unsigned long pb_low = 0; - if (class == INSN_CLASS_48) + if (i_class == INSN_CLASS_48) { pb_high = 0x800000000000LL; pb_middle = 0x80000000; @@ -2512,7 +2512,7 @@ s3_adjust_paritybit (bfd_vma m_code, enum insn_class class) pb_middle | (m_code_middle << 1) | pb_low | m_code_low; } - else if (class == INSN_CLASS_32 || class == INSN_CLASS_SYN) + else if (i_class == INSN_CLASS_32 || i_class == INSN_CLASS_SYN) { pb_high = 0x80000000; pb_low = 0x00000000; @@ -2520,7 +2520,7 @@ s3_adjust_paritybit (bfd_vma m_code, enum insn_class class) m_code_low = m_code & 0x00007fff; result = pb_high | (m_code_high << 1) | pb_low | m_code_low; } - else if (class == INSN_CLASS_16) + else if (i_class == INSN_CLASS_16) { pb_high = 0; pb_low = 0; @@ -2528,7 +2528,7 @@ s3_adjust_paritybit (bfd_vma m_code, enum insn_class class) m_code_low = m_code & 0x00007fff; result = pb_high | (m_code_high << 1) | pb_low | m_code_low; } - else if (class == INSN_CLASS_PCE) + else if (i_class == INSN_CLASS_PCE) { /* Keep original. */ pb_high = 0;