summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2015-04-28 12:52:08 +0000
committeremaste <emaste@FreeBSD.org>2015-04-28 12:52:08 +0000
commit1cbcad60d1b746b605c6054ce3d09ef632623ed0 (patch)
tree9322bc2a7ae7e6792629b180988683fb14e1259a /lib
parent412d04f751863fe865f6a4bbaeb0883c0a52c8a8 (diff)
downloadFreeBSD-src-1cbcad60d1b746b605c6054ce3d09ef632623ed0.zip
FreeBSD-src-1cbcad60d1b746b605c6054ce3d09ef632623ed0.tar.gz
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."
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/mips/gen/sigsetjmp.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/mips/gen/sigsetjmp.S b/lib/libc/mips/gen/sigsetjmp.S
index 7705c29..41c47f2 100644
--- a/lib/libc/mips/gen/sigsetjmp.S
+++ b/lib/libc/mips/gen/sigsetjmp.S
@@ -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)
OpenPOWER on IntegriCloud