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
- From: rsandifo at sources dot redhat dot com
- To: binutils-cvs at sources dot redhat dot com
- Date: 23 Jan 2004 13:00:19 -0000
- Subject: src/gas ChangeLog config/tc-mips.c
CVSROOT: /cvs/src
Module name: src
Changes by: rsandifo@sourceware.org 2004-01-23 13:00:19
Modified files:
gas : ChangeLog
gas/config : tc-mips.c
Log message:
* config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
(RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
(RELAX_USE_SECOND): Bump to 0x10000.
(RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
(mips_macro_warning): New variable.
(md_assemble): Wrap macro expansion in macro_start() and macro_end().
(s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
(relax_close_frag): Set mips_macro_warning.first_frag. Adjust use
of RELAX_ENCODE.
(append_insn): Update mips_macro_warning.sizes.
(macro_start, macro_warning, macro_end): New functions.
(macro_build): Don't emit warnings here.
(macro_build_lui, md_estimate_size_before_relax): ...or here.
(md_convert_frag): Check for cases where one macro alternative
needs a warning and the other doesn't. Emit a warning if the
longer sequence was chosen.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.2036&r2=1.2037
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/config/tc-mips.c.diff?cvsroot=src&r1=1.248&r2=1.249