mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 14:59:31 +08:00
* config/tc-xtensa.c (xtensa_elf_cons): Set frag flags for
expressions without suffixes. (get_frag_property_flags): Preserve is_no_transform flag for frags not marked as either instructions or literals.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2007-12-20 Bob Wilson <bob.wilson@acm.org>
|
||||||
|
|
||||||
|
* config/tc-xtensa.c (xtensa_elf_cons): Set frag flags for
|
||||||
|
expressions without suffixes.
|
||||||
|
(get_frag_property_flags): Preserve is_no_transform flag for frags
|
||||||
|
not marked as either instructions or literals.
|
||||||
|
|
||||||
2007-12-17 H.J. Lu <hongjiu.lu@intel.com>
|
2007-12-17 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* config/tc-i386.c (output_insn): Use ARRAY_SIZE.
|
* config/tc-i386.c (output_insn): Use ARRAY_SIZE.
|
||||||
|
@ -1558,8 +1558,11 @@ xtensa_elf_cons (int nbytes)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
xtensa_set_frag_assembly_state (frag_now);
|
||||||
emit_expr (&exp, (unsigned int) nbytes);
|
emit_expr (&exp, (unsigned int) nbytes);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
while (*input_line_pointer++ == ',');
|
while (*input_line_pointer++ == ',');
|
||||||
|
|
||||||
input_line_pointer--; /* Put terminator back into stream. */
|
input_line_pointer--; /* Put terminator back into stream. */
|
||||||
@ -10670,7 +10673,11 @@ get_frag_property_flags (const fragS *fragP, frag_flags *prop_flags)
|
|||||||
prop_flags->is_literal = TRUE;
|
prop_flags->is_literal = TRUE;
|
||||||
if (fragP->tc_frag_data.is_specific_opcode
|
if (fragP->tc_frag_data.is_specific_opcode
|
||||||
|| fragP->tc_frag_data.is_no_transform)
|
|| fragP->tc_frag_data.is_no_transform)
|
||||||
|
{
|
||||||
prop_flags->is_no_transform = TRUE;
|
prop_flags->is_no_transform = TRUE;
|
||||||
|
if (xtensa_frag_flags_is_empty (prop_flags))
|
||||||
|
prop_flags->is_data = TRUE;
|
||||||
|
}
|
||||||
if (fragP->tc_frag_data.is_unreachable)
|
if (fragP->tc_frag_data.is_unreachable)
|
||||||
prop_flags->is_unreachable = TRUE;
|
prop_flags->is_unreachable = TRUE;
|
||||||
else if (fragP->tc_frag_data.is_insn)
|
else if (fragP->tc_frag_data.is_insn)
|
||||||
|
Reference in New Issue
Block a user