Date: Tue, 28 Apr 2015 12:52:09 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r282143 - stable/10/lib/libc/mips/gen Message-ID: <201504281252.t3SCq9bL064224@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504281252.t3SCq9bL064224>