aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2006-04-25 16:32:56 +0000
committerBob Wilson <bob.wilson@acm.org>2006-04-25 16:32:56 +0000
commit5033a6459b577c4eb87f9f59d5d65c47ff1d8a41 (patch)
tree6274b6f680dc1218f8e16dcd1afab4e32feb47ea /gas/config
parent253a23950d9ced1f4640d072f8b5579c7b4b24b6 (diff)
downloadgdb-5033a6459b577c4eb87f9f59d5d65c47ff1d8a41.zip
gdb-5033a6459b577c4eb87f9f59d5d65c47ff1d8a41.tar.gz
gdb-5033a6459b577c4eb87f9f59d5d65c47ff1d8a41.tar.bz2
* config/tc-xtensa.c (xtensa_create_literal_symbol,
xg_assemble_literal, xg_assemble_literal_space): Do not set the frag's is_literal flag.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-xtensa.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c
index c1c8fad..85d1b37 100644
--- a/gas/config/tc-xtensa.c
+++ b/gas/config/tc-xtensa.c
@@ -3980,7 +3980,6 @@ xtensa_create_literal_symbol (segT sec, fragS *frag)
xtensa_add_literal_sym (symbolP);
- frag->tc_frag_data.is_literal = TRUE;
lit_num++;
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->fr_symbol = xtensa_create_literal_symbol (now_seg, frag_now);
lit_sym = frag_now->fr_symbol;
- frag_now->tc_frag_data.is_literal = TRUE;
/* Go back. */
xtensa_restore_emit_state (&state);
@@ -4075,7 +4073,6 @@ xg_assemble_literal_space (/* const */ int size, int slot)
lit_saved_frag = frag_now;
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);
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 ();
int i;
- /* assert (!insn->is_literal); */
for (i = 0; i < insn->ntok; i++)
if (insn->tok[i].X_add_symbol == sym)
insn->tok[i].X_add_symbol = label_sym;