aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-xtensa.h
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2005-03-26 00:21:01 +0000
committerBob Wilson <bob.wilson@acm.org>2005-03-26 00:21:01 +0000
commit7c834684b638b78f7f13161f8e5c8b81826d694c (patch)
treef92c08546cdfcf85d131c107db5e0f87e3e2b766 /gas/config/tc-xtensa.h
parent9d2f1968d45c9bdc74e057469d2184dea23d100b (diff)
downloadgdb-7c834684b638b78f7f13161f8e5c8b81826d694c.zip
gdb-7c834684b638b78f7f13161f8e5c8b81826d694c.tar.gz
gdb-7c834684b638b78f7f13161f8e5c8b81826d694c.tar.bz2
* config/tc-xtensa.c (use_longcalls): Delete.
(xg_symbolic_immeds_fit): Check for direct calls and return TRUE if the use_longcalls flag is set. Do this before checking the segment. (xg_expand_assembly_insn): Rearrange to use new do_expand flag. Never expand direct calls at this point. (xtensa_set_frag_assembly_state): Set use_longcalls flag. (xtensa_find_unmarked_state_frags): Likewise. (md_assemble): Do not disable longcalls by setting is_specific_opcode. (xg_assemble_vliw_tokens): Switch frags when use_longcalls changes. (convert_frag_immed): Remove unnecessary check of is_specific_opcode. * config/tc-xtensa.h (xtensa_frag_type): Add use_longcalls flag.
Diffstat (limited to 'gas/config/tc-xtensa.h')
-rw-r--r--gas/config/tc-xtensa.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/config/tc-xtensa.h b/gas/config/tc-xtensa.h
index e38fa6c..99032fd 100644
--- a/gas/config/tc-xtensa.h
+++ b/gas/config/tc-xtensa.h
@@ -195,6 +195,7 @@ struct xtensa_frag_type
unsigned int is_assembly_state_set : 1;
unsigned int is_no_density : 1;
unsigned int is_no_transform : 1;
+ unsigned int use_longcalls : 1;
unsigned int use_absolute_literals : 1;
/* Inhibits relaxation of machine-dependent alignment frags the