mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
* config/tc-hppa.c (md_apply_fix): Mask out immediate bits of
instruction to reflect change in re_assemble_*.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2000-05-18 Alan Modra <alan@linuxcare.com.au>
|
||||||
|
|
||||||
|
* config/tc-hppa.c (md_apply_fix): Mask out immediate bits of
|
||||||
|
instruction to reflect change in re_assemble_*.
|
||||||
|
|
||||||
Thu May 18 10:52:14 2000 Jeffrey A Law (law@cygnus.com)
|
Thu May 18 10:52:14 2000 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
* configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then
|
* configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then
|
||||||
|
@ -4422,7 +4422,7 @@ md_apply_fix (fixP, valp)
|
|||||||
CHECK_FIELD (new_val, 1048576, -1048576, 0);
|
CHECK_FIELD (new_val, 1048576, -1048576, 0);
|
||||||
val = new_val;
|
val = new_val;
|
||||||
|
|
||||||
insn = re_assemble_21 (insn, val);
|
insn = re_assemble_21 (insn & ~ 0x1fffff, val);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* Handle all the opcodes with the 'i' operand type. */
|
/* Handle all the opcodes with the 'i' operand type. */
|
||||||
@ -4438,7 +4438,7 @@ md_apply_fix (fixP, valp)
|
|||||||
CHECK_FIELD (new_val, 8199, -8184, 0);
|
CHECK_FIELD (new_val, 8199, -8184, 0);
|
||||||
val = new_val;
|
val = new_val;
|
||||||
|
|
||||||
insn = re_assemble_12 (insn, (val - 8) >> 2);
|
insn = re_assemble_12 (insn & ~ 0x1ffd, (val - 8) >> 2);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* Handle some of the opcodes with the 'W' operand type. */
|
/* Handle some of the opcodes with the 'W' operand type. */
|
||||||
@ -4455,7 +4455,7 @@ md_apply_fix (fixP, valp)
|
|||||||
CHECK_FIELD (new_val, 262143, -262144, 0);
|
CHECK_FIELD (new_val, 262143, -262144, 0);
|
||||||
val = new_val;
|
val = new_val;
|
||||||
|
|
||||||
insn = re_assemble_17 (insn, (val - 8) >> 2);
|
insn = re_assemble_17 (insn & ~ 0x1f1ffd, (val - 8) >> 2);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4472,7 +4472,7 @@ md_apply_fix (fixP, valp)
|
|||||||
CHECK_FIELD (new_val, 8388607, -8388608, 0);
|
CHECK_FIELD (new_val, 8388607, -8388608, 0);
|
||||||
val = new_val;
|
val = new_val;
|
||||||
|
|
||||||
insn = re_assemble_22 (insn, (val - 8) >> 2);
|
insn = re_assemble_22 (insn & ~ 0x3ff1ffd, (val - 8) >> 2);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user