* doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort,
authorHans-Peter Nilsson <hp@axis.com>
Sun, 21 Mar 2004 23:50:38 +0000 (23:50 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Sun, 21 Mar 2004 23:50:38 +0000 (23:50 +0000)
commit1048a9ba6538d0a1800c330b5011475d2183c798
tree55f0b89ddbfc017d6f2d703a932a4a0dc8083c74
parent95631471e2a5e4a39a26ad271edd037c66ab9c9c
* doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort,
--mul-bug-abort and the default behavior.
* config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL.
(err_for_dangerous_mul_placement): New variable.
(STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New
macros.
(md_cris_relax_table): Have placeholder for STATE_MUL.
(md_longopts): New options --mul-bug-abort and --no-mul-bug-abort.
(cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New
case doing nothing.
(md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL,
STATE_BYTE)>: Ditto.
(md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check
alignment and position of this frag, emit error message if
suspicious.
(md_assemble): For a multiply insn and when checking it,
transform the current frag into a special frag for that purpose.
(md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case
OPTION_MULBUG_ABORT_ON>: Handle new options.
gas/ChangeLog
gas/config/tc-cris.c
gas/doc/c-cris.texi