[PATCH RFA] fill in instruction info for mips disassembly.

Eric Christopher echristo@twigboy.cygnus.com
Tue Oct 23 12:14:00 GMT 2001


Ok. Makes sense to me.

-eric

> 2001-10-21  Chris Demetriou  <cgd@broadcom.com>
> 
> 	* mips-opc.c (mips_builtin_opcodes): Mark "bgezall" and
> 	"bltzall" as writing GPR 31 (since they do).
> 
> 	* mips-dis.c (print_insn_arg): Calculate info->target
> 	where appropriate.
> 	(print_insn_mips): Fill in instruction info.
> 	(print_mips16_insn_arg): Remove unneded variable 'val'.
> 	Removed duplicated instruction target calculations,
> 	calculate once and print that result.  Use same idiom for
> 	masking the jump segment bits as is used in print_insn_arg.
> 
> [gas/testsuite/ChangeLog]
> 
> 2001-10-21  Chris Demetriou  <cgd@broadcom.com>
> 
> 	* gas/mips/beq.s: Add zero words at end of instructions so
> 	that objdump will print "..." when disassembling.
> 	* gas/mips/beq.d: Update for disassembler changes which force
> 	branch delay-slot nops to be printed.
> 	* gas/mips/bge.d: Ditto.
> 	* gas/mips/bgeu.d: Ditto.
> 	* gas/mips/blt.d: Ditto.
> 	* gas/mips/bltu.d: Ditto.
> 	* gas/mips/jal-svr4pic.d: Ditto.
> 	* gas/mips/jal-xgot.d: Ditto.

--
Look out behind you!



More information about the Binutils mailing list