mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
* config/tc-xtensa.c (xtensa_create_literal_symbol,
xg_assemble_literal, xg_assemble_literal_space): Do not set the frag's is_literal flag.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2006-04-25 Bob Wilson <bob.wilson@acm.org>
|
||||||
|
|
||||||
|
* config/tc-xtensa.c (xtensa_create_literal_symbol,
|
||||||
|
xg_assemble_literal, xg_assemble_literal_space): Do not set the
|
||||||
|
frag's is_literal flag.
|
||||||
|
|
||||||
2006-04-25 Bob Wilson <bob.wilson@acm.org>
|
2006-04-25 Bob Wilson <bob.wilson@acm.org>
|
||||||
|
|
||||||
* config/xtensa-relax.c (XCHAL_HAVE_WIDE_BRANCHES): Provide default.
|
* config/xtensa-relax.c (XCHAL_HAVE_WIDE_BRANCHES): Provide default.
|
||||||
|
@ -3980,7 +3980,6 @@ xtensa_create_literal_symbol (segT sec, fragS *frag)
|
|||||||
|
|
||||||
xtensa_add_literal_sym (symbolP);
|
xtensa_add_literal_sym (symbolP);
|
||||||
|
|
||||||
frag->tc_frag_data.is_literal = TRUE;
|
|
||||||
lit_num++;
|
lit_num++;
|
||||||
return symbolP;
|
return symbolP;
|
||||||
}
|
}
|
||||||
@ -4046,7 +4045,6 @@ xg_assemble_literal (/* const */ TInsn *insn)
|
|||||||
frag_now->tc_frag_data.literal_frag = get_literal_pool_location (now_seg);
|
frag_now->tc_frag_data.literal_frag = get_literal_pool_location (now_seg);
|
||||||
frag_now->fr_symbol = xtensa_create_literal_symbol (now_seg, frag_now);
|
frag_now->fr_symbol = xtensa_create_literal_symbol (now_seg, frag_now);
|
||||||
lit_sym = frag_now->fr_symbol;
|
lit_sym = frag_now->fr_symbol;
|
||||||
frag_now->tc_frag_data.is_literal = TRUE;
|
|
||||||
|
|
||||||
/* Go back. */
|
/* Go back. */
|
||||||
xtensa_restore_emit_state (&state);
|
xtensa_restore_emit_state (&state);
|
||||||
@ -4075,7 +4073,6 @@ xg_assemble_literal_space (/* const */ int size, int slot)
|
|||||||
|
|
||||||
lit_saved_frag = frag_now;
|
lit_saved_frag = frag_now;
|
||||||
frag_now->tc_frag_data.literal_frag = get_literal_pool_location (now_seg);
|
frag_now->tc_frag_data.literal_frag = get_literal_pool_location (now_seg);
|
||||||
frag_now->tc_frag_data.is_literal = TRUE;
|
|
||||||
frag_now->fr_symbol = xtensa_create_literal_symbol (now_seg, frag_now);
|
frag_now->fr_symbol = xtensa_create_literal_symbol (now_seg, frag_now);
|
||||||
xg_finish_frag (0, RELAX_LITERAL, 0, size, FALSE);
|
xg_finish_frag (0, RELAX_LITERAL, 0, size, FALSE);
|
||||||
|
|
||||||
@ -4230,7 +4227,6 @@ xg_resolve_labels (TInsn *insn, symbolS *label_sym)
|
|||||||
{
|
{
|
||||||
symbolS *sym = get_special_label_symbol ();
|
symbolS *sym = get_special_label_symbol ();
|
||||||
int i;
|
int i;
|
||||||
/* assert (!insn->is_literal); */
|
|
||||||
for (i = 0; i < insn->ntok; i++)
|
for (i = 0; i < insn->ntok; i++)
|
||||||
if (insn->tok[i].X_add_symbol == sym)
|
if (insn->tok[i].X_add_symbol == sym)
|
||||||
insn->tok[i].X_add_symbol = label_sym;
|
insn->tok[i].X_add_symbol = label_sym;
|
||||||
|
Reference in New Issue
Block a user