[ gas/ChangeLog ]

* config/tc-mips.c (mips16_ip): Fix argument register handling
	for restore instruction.

	[ gas/testsuite/ChangeLog ]
	* gas/mips/mips16-save.d: Fix testcase.
This commit is contained in:
Thiemo Seufer 2006-08-12 23:00:35 +00:00
parent 9e320ba497
commit 3a93f742d4
4 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2006-08-12 Thiemo Seufer <ths@networkno.de>
* config/tc-mips.c (mips16_ip): Fix argument register handling
for restore instruction.
2006-08-08 Bob Wilson <bob.wilson@acm.org>
* dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): New.

View File

@ -10201,7 +10201,7 @@ mips16_ip (char *str, struct mips_cl_insn *ip)
{
if (reg1 >= 4 && reg1 <= 7)
{
if (c == 'm' && !seen_framesz)
if (!seen_framesz)
/* args $a0-$a3 */
args |= 1 << (reg1 - 4);
else

View File

@ -1,3 +1,7 @@
2006-08-12 Thiemo Seufer <ths@networkno.de>
* gas/mips/mips16-save.d: Fix testcase.
2006-08-08 Bob Wilson <bob.wilson@acm.org>
* gas/lns/lns-common-1-alt.d: New file.

View File

@ -39,5 +39,5 @@ Disassembly of section .text:
60:[ ]+6470[ ]+restore[ ]+128,ra,s0-s1
62:[ ]+f010 6441[ ]+restore[ ]+136,ra
66:[ ]+f100 6408[ ]+restore[ ]+64,s2
6a:[ ]+f71b 6470[ ]+restore[ ]+128,ra,s0-s8,a0-a3
6a:[ ]+f71a 6470[ ]+restore[ ]+a0-a1,128,ra,s0-s8,a2-a3
6e:[ ]+6500[ ]+nop