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
This commit is contained in:
parent
f100177dfb
commit
7a47d65d5d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user