svn commit: r282143 - stable/10/lib/libc/mips/gen

Ed Maste emaste at FreeBSD.org
Tue Apr 28 12:52:09 UTC 2015


Author: emaste
Date: Tue Apr 28 12:52:08 2015
New Revision: 282143
URL: https://svnweb.freebsd.org/changeset/base/282143

Log:
  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."

Modified:
  stable/10/lib/libc/mips/gen/sigsetjmp.S
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/lib/libc/mips/gen/sigsetjmp.S
==============================================================================
--- stable/10/lib/libc/mips/gen/sigsetjmp.S	Tue Apr 28 12:48:30 2015	(r282142)
+++ stable/10/lib/libc/mips/gen/sigsetjmp.S	Tue Apr 28 12:52:08 2015	(r282143)
@@ -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)


More information about the svn-src-all mailing list