This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src/gas config/tc-mips.c ChangeLog
- From: rsandifo at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 23 Sep 2012 09:23:24 -0000
- Subject: src/gas config/tc-mips.c ChangeLog
CVSROOT: /cvs/src
Module name: src
Changes by: rsandifo@sourceware.org 2012-09-23 09:23:24
Modified files:
gas/config : tc-mips.c
gas : ChangeLog
Log message:
gas/
* config/tc-mips.c (mips_cl_insn): Remove use_extend and extend.
(MIPS16_EXTEND): New macro.
(mips16_opcode_length): New function.
(insn_length): Use it.
(create_insn): Update after mips_cl_insn change.
(write_compressed_insn): New function.
(install_insn): Use it.
(append_insn): Use insn_length to check for unextended MIPS16
instructions.
(mips16_macro_build): Update call to mips16_immed.
(mips16_ip): Likewise. Use MIPS16_EXTEND to force an extended
instruction.
(mips16_immed): Remove use_extend and extend; install EXTEND
opcodes in the upper 16 bits of *INSN instead. Keep the
instruction extended if it already is. Replace warn, small
and ext with a forced_insn_length-like parameter.
(md_convert_frag): Update call mips16_immed.
Use write_compressed_insn.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-mips.c.diff?cvsroot=src&r1=1.511&r2=1.512
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.4834&r2=1.4835