+Thu Oct 30 13:46:20 1997 Nick Clifton <nickc@cygnus.com>
+
+ * config/tc-arm.c (md_apply_fix3): Fix thumb ADR pseudo op. Patch
+ from Tony Thompson at ARM: athompso@arm.com
+
start-sanitize-d30v
Thu Oct 30 11:11:26 1997 Michael Meissner <meissner@cygnus.com>
while (*str == ' ')
str++;
- if (reg_required_here (&str, 8) == FAIL
+ if (reg_required_here (&str, 4) == FAIL
|| skip_past_comma (&str) == FAIL
|| my_get_expression (&inst.reloc.exp, &str))
{
segT seg;
{
offsetT value = *val;
- offsetT newval, temp;
+ offsetT newval;
+ unsigned long temp;
int sign;
char *buf = fixP->fx_where + fixP->fx_frag->fr_literal;
arm_fix_data *arm_data = (arm_fix_data *) fixP->tc_fix_data;
as_bad_where (fixP->fx_file, fixP->fx_line,
"Invalid immediate for address calculation (value = 0x%08X)", value);
newval = (rs == REG_PC ? T_OPCODE_ADD_PC : T_OPCODE_ADD_SP);
+ newval |= rd << 8;
newval |= value >> 2;
}
else if (rs == rd)