* config/tc-cris.c (SIMPLE_EXPR): New macro.
authorHans-Peter Nilsson <hp@axis.com>
Tue, 22 Oct 2002 23:45:40 +0000 (23:45 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Tue, 22 Oct 2002 23:45:40 +0000 (23:45 +0000)
commit1c97116001da973fe984d0832e7981ab5dac6c20
tree425ef77b93a14ad5f79f5bd7629a2605d3151556
parentc84e5117321e3cb97f782629612f85786bbf815d
* config/tc-cris.c (SIMPLE_EXPR): New macro.
(cris_relax_frag): New function.
(md_estimate_size_before_relax) <case ENCODE_RELAX
(STATE_BASE_PLUS_DISP_PREFIX, STATE_UNDF)>: Pass on unresolved
expressions that will become absolute expressions to relaxation.
(md_convert_frag) <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX,
STATE_WORD)>: Expect only absolute expressions.  Use the symbol
value, not distance to symbol.
<case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX, STATE_BYTE)>:
Ditto.  Correct placement of fixup.
(md_assemble): Use SIMPLE_EXPR when dissecting expressions.
(gen_bdap): Ditto.
* config/tc-cris.h (cris_relax_frag): Declare.
(md_relax_frag): Define.
gas/ChangeLog
gas/config/tc-cris.c
gas/config/tc-cris.h