This is the mail archive of the
binutils-cvs@sources.redhat.com
mailing list for the binutils project.
src/gas ChangeLog config/tc-mips.c config/tc-m ...
- From: aoliva at sources dot redhat dot com
- To: binutils-cvs at sources dot redhat dot com
- Date: 12 Oct 2002 05:23:33 -0000
- Subject: src/gas ChangeLog config/tc-mips.c config/tc-m ...
CVSROOT: /cvs/src
Module name: src
Changes by: aoliva@sources.redhat.com 2002-10-11 22:23:33
Modified files:
gas : ChangeLog
gas/config : tc-mips.c tc-mips.h
Log message:
* 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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.1516&r2=1.1517
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/config/tc-mips.c.diff?cvsroot=src&r1=1.171&r2=1.172
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/config/tc-mips.h.diff?cvsroot=src&r1=1.17&r2=1.18