aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-xtensa.h
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2005-04-14 22:38:49 +0000
committerBob Wilson <bob.wilson@acm.org>2005-04-14 22:38:49 +0000
commitdd49a749cd5e710c683464795e1494ce4e4643a0 (patch)
tree14dab61dbc0e6cee318f133b87ffe0a22040b28f /gas/config/tc-xtensa.h
parent53f541af8d1854d17a2919e787446e502d205799 (diff)
downloadgdb-dd49a749cd5e710c683464795e1494ce4e4643a0.zip
gdb-dd49a749cd5e710c683464795e1494ce4e4643a0.tar.gz
gdb-dd49a749cd5e710c683464795e1494ce4e4643a0.tar.bz2
* config/tc-xtensa.h (struct xtensa_frag_type): Add lit_frchain field.
* config/tc-xtensa.c (xg_translate_sysreg_op, xtensa_translate_old_userregs_ops, xtensa_find_unaligned_branch_targets, xtensa_find_unaligned_loops, xtensa_fix_close_loop_end_frags, relax_frag_add_nop): Support 64-bit host. (xtensa_mark_literal_pool_location, xtensa_move_literals): Use tc_frag_data lit_frchain and lit_seg fields instead of fr_var.
Diffstat (limited to 'gas/config/tc-xtensa.h')
-rw-r--r--gas/config/tc-xtensa.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gas/config/tc-xtensa.h b/gas/config/tc-xtensa.h
index 99032fd..4b1ade3 100644
--- a/gas/config/tc-xtensa.h
+++ b/gas/config/tc-xtensa.h
@@ -227,9 +227,13 @@ struct xtensa_frag_type
fragS *literal_frag;
/* The destination segment for literal frags. (Note that this is only
- valid after xtensa_move_literals. */
+ valid after xtensa_move_literals.) This field is also used for
+ LITERAL_POOL_END frags. */
segT lit_seg;
+ /* Frag chain for LITERAL_POOL_BEGIN frags. */
+ struct frchain *lit_frchain;
+
/* For the relaxation scheme, some literal fragments can have their
expansions modified by an instruction that relaxes. */
int text_expansion[MAX_SLOTS];