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
fdcbb5500a
commit
fea134ce22
@ -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…
Reference in New Issue
Block a user