MFC r277877: 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."
This commit is contained in:
emaste 2015-04-28 12:52:08 +00:00
parent 412d04f751
commit 1cbcad60d1

View File

@ -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)