* config/tc-cris.c (SIMPLE_EXPR): New macro.
commit4c506f3f285d6051d66de684a049f495aa72226e
authorHans-Peter Nilsson <hp@axis.com>
Tue, 22 Oct 2002 23:45:40 +0000 (22 23:45 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Tue, 22 Oct 2002 23:45:40 +0000 (22 23:45 +0000)
tree6d71211fe5e9e9488ccabcff4f6155818804197a
parentf8a31fb3b1f5707ea69c8f3afe68693243afefaa
* 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