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) _______________________________________________ svn-src-stable-10@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10 To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"