Changes to handle varying register prefix and user symbol prefix.
authorHans-Peter Nilsson <hp@axis.com>
Fri, 29 Sep 2000 18:01:23 +0000 (18:01 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Fri, 29 Sep 2000 18:01:23 +0000 (18:01 +0000)
commit7b15d66830d1fb23b26e9b4cd9df0ecf3611203a
tree4500b639425792c9dce9d64bd85a8a6cd73d615d
parent4da816844af44739c9793fd30d8d8c4368e0ebf5
Changes to handle varying register prefix and user symbol prefix.
* config/tc-cris.c (SYNTAX_RELAX_REG_PREFIX,
SYNTAX_ENFORCE_REG_PREFIX, SYNTAX_USER_SYM_LEADING_UNDERSCORE,
SYNTAX_USER_SYM_NO_LEADING_UNDERSCORE, REGISTER_PREFIX_CHAR): New.
(s_syntax, cris_force_reg_prefix, cris_relax_reg_prefix,
cris_sym_leading_underscore, cris_sym_no_leading_underscore): New.
(demand_register_prefix): New variable.
(md_pseudo_table): New pseudo ".syntax".
(md_longopts): New options --no-underscore and --underscore.
(cris_target_format): Return elf32-us-cris or elf32-cris depending
on symbols_have_leading_underscore.
(get_gen_reg): Accept or require REGISTER_PREFIX_CHAR.
(get_spec_reg): Ditto.
(cris_number_to_imm) <case BFD_RELOC_VTABLE_ENTRY>: Remove FIXME.
Fix formatting.
(md_parse_option) <case 'h' 'H'>: Deprecate; add reference to
--help.
<case OPTION_NO_US, case OPTION_US>: New.
(md_show_usage): Be brief and reformat to match continuation of
--help.
* po/gas.pot: Regenerate.
gas/ChangeLog
gas/config/tc-cris.c
gas/po/gas.pot