Subject: Re: gas warning on mipsX_subr.S
To: None <port-mips@netbsd.org>
From: Alex Pelts <alexp@broadcom.com>
List: port-mips
Date: 02/25/2005 11:38:20
This is certainly not harmles at all. I would offer more insights but it 
would help to know which version of kernel are you trying to compile or 
the assembly snippet that generates warning.
On my 1.6.2 kernel there is no warning possible on these lines:
     1400 LEAF_NOPROFILE(MIPSX(TLBInvalidException))
     1401         .set    noat
     1402         _MFC0   k0, MIPS_COP_0_BAD_VADDR        # get the 
fault address
     1403         li      k1, VM_MIN_KERNEL_ADDRESS       # compute index
     1404         bgez    k0, _C_LABEL(MIPSX(KernGenException))   # full 
trap pro
     1404 cessing
     1405         subu    k0, k0, k1

     1510         /* news5000 has ROM work area at 0xfff00000. */
     1511         bne     k1, zero, 1f
     1512         nop
     1513         j       checkromwork
     1514 1:
     1515 #else
     1516         beq     k1, zero, outofworld            # No. Failing 
beyond. .
     1516  .
     1517 #endif
     1518         lw      k1, _C_LABEL(Sysmap)

Thanks,
Alex

Martin Husemann wrote:
> On Fri, Feb 25, 2005 at 10:59:19AM -0800, Eric Christopher wrote:
> 
>>Most assuredly not.
> 
> 
> In this cases it looks harmless - the branch (if taken) will ignore the
> incomplete work of the pseudo instruction anyway (but I'm not realy good
> at mips assembly)
> 
> Martin
> 
> 
>