* config/tc-mips.h (mips_relax_frag): Take segment as argument.
authorAlexandre Oliva <aoliva@redhat.com>
Sat, 12 Oct 2002 05:23:33 +0000 (05:23 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sat, 12 Oct 2002 05:23:33 +0000 (05:23 +0000)
commit4a6a3df43dbb37853a7b88b10ae97d9ec5daf987
treeda3f88ce6a2ccea5e5be352f6d7f7d7984d382e6
parente2b23ee9228eda96f94006d4caf05d0bcaf4de17
* config/tc-mips.h (mips_relax_frag): Take segment as argument.
(md_relax_frag): Adjust macro.
* config/tc-mips.c (mips_relax_branch): New variable.
(RELAX_BRANCH_ENCODE, RELAX_BRANCH_P, RELAX_BRANCH_LIKELY,
RELAX_BRANCH_LINK, RELAX_BRANCH_TOOBAR): New.
(RELAX_MIPS16_P): Adjust.
(append_insn): Emit branch to non-constant in a frag_var if
branch-relaxation is desirable and possible.
(OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH): New options.
(OPTION_ELF_BASE): Adjust.
(md_parse_option): Handle new options.
(md_apply_fix3): Update comment on EMBEDDED_PIC conditional
branch relaxation.
(relaxed_branch_length): New function.
(md_estimate_size_before_relax): Handle branch frags.
(mips_relax_frag): Likewise.
(md_convert_frag): Handle branch frags.  Warn if branch is
relaxed.
gas/ChangeLog
gas/config/tc-mips.c
gas/config/tc-mips.h
This page took 0.024159 seconds and 4 git commands to generate.