OSDN Git Service

* config/tc-cris.c (SIMPLE_EXPR): New macro.
authorhp <hp>
Tue, 22 Oct 2002 23:45:38 +0000 (23:45 +0000)
committerhp <hp>
Tue, 22 Oct 2002 23:45:38 +0000 (23:45 +0000)
commitfd2fd9268ea9cfa21a77a111994c38019d884ebb
treeccb49d35da9fc78c33c4d0e697e159b023ef42f2
parentf9f27cbebd8d47c9f59a6fcdbe5c1ce9f18c551e
* 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