* config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
authorBob Wilson <bob.wilson@acm.org>
Fri, 2 Feb 2007 23:59:29 +0000 (23:59 +0000)
committerBob Wilson <bob.wilson@acm.org>
Fri, 2 Feb 2007 23:59:29 +0000 (23:59 +0000)
commitbbdd25a805f879ea82b8fa57962ef9f81a86c0f1
treecb3365bec9371d4324594cad6957483d3115ccda
parentf239559399b0ab00df20aba1e2367ca94b3edc7f
* config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
(xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
(map_suffix_reloc_to_operator): New.
(map_operator_to_reloc): New.
(expression_maybe_register): Fix incorrect test of return value from
xtensa_elf_suffix.  Rearrange to use map_suffix_reloc_to_operator.
(xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
gas/ChangeLog
gas/config/tc-xtensa.c