From 7c834684b638b78f7f13161f8e5c8b81826d694c Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Sat, 26 Mar 2005 00:21:01 +0000 Subject: * 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/config/tc-xtensa.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gas/config/tc-xtensa.h') 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 -- cgit v1.1