* config/tc-xtensa.c (use_longcalls): Delete.
authorBob Wilson <bob.wilson@acm.org>
Sat, 26 Mar 2005 00:21:01 +0000 (00:21 +0000)
committerBob Wilson <bob.wilson@acm.org>
Sat, 26 Mar 2005 00:21:01 +0000 (00:21 +0000)
commit7c834684b638b78f7f13161f8e5c8b81826d694c
treef92c08546cdfcf85d131c107db5e0f87e3e2b766
parent9d2f1968d45c9bdc74e057469d2184dea23d100b
* 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.
gas/ChangeLog
gas/config/tc-xtensa.c
gas/config/tc-xtensa.h