svn commit: r277877 - head/lib/libc/mips/gen
Davide Italiano
davide at freebsd.org
Thu Jan 29 17:37:01 UTC 2015
On Thu, Jan 29, 2015 at 7:30 AM, Ed Maste <emaste at freebsd.org> wrote:
> Author: emaste
> Date: Thu Jan 29 15:30:04 2015
> New Revision: 277877
> URL: https://svnweb.freebsd.org/changeset/base/277877
>
> Log:
> Use zero register instead of immediate 0x0 in MIPS assembly
>
> It seems GAS makes the substitution automatically, but Clang's
> integrated assembler does not (yet). It fails with "invalid operand for
> instruction."
>
> Reported by: sbruno
>
> Modified:
> head/lib/libc/mips/gen/sigsetjmp.S
>
> Modified: head/lib/libc/mips/gen/sigsetjmp.S
> ==============================================================================
> --- head/lib/libc/mips/gen/sigsetjmp.S Thu Jan 29 14:23:31 2015 (r277876)
> +++ head/lib/libc/mips/gen/sigsetjmp.S Thu Jan 29 15:30:04 2015 (r277877)
> @@ -61,7 +61,7 @@ __FBSDID("$FreeBSD$");
> LEAF(sigsetjmp)
> PIC_PROLOGUE(sigsetjmp)
>
> - bne a1, 0x0, 1f # do saving of signal mask?
> + bne a1, zero, 1f # do saving of signal mask?
> PIC_TAILCALL(_setjmp)
>
> 1: PIC_TAILCALL(setjmp)
>
Ed,
did you open a bug for this on LLVM bugzilla? If yes, can you please
link it here, for the records?
--
Davide
"There are no solved problems; there are only problems that are more
or less solved" -- Henri Poincare
More information about the svn-src-head
mailing list