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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=277877
@ -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