Re: [PATCH] MIPS: microMIPS: Work around an assembler bug.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 9 Apr 2014, Steven J. Hill wrote:

> > In newer toolchains, the 16-bit branch delay slot instruction
> > calculation is wrong. We get a message very similar to:
> > 
> >    {standard input}: Assembler messages:
> >    {standard input}:7035: Warning: wrong size instruction
> >    in a 16-bit branch delay slot
> > 
> > This corner case only occurs in 'arch/mips/kernel/traps.c' and
> > we add the '-fno-delayed-branch' option when compiling it.
> > 
> > Signed-off-by: Steven J. Hill <Steven.Hill@xxxxxxxxxx>
> >
> I rejected this in patchwork. Just making sure you do not use it.

 In any case I think using -mno-jals rather than -fno-delayed-branch would 
be a better workaround, wouldn't it?

  Maciej


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux