From owner-svn-src-head@FreeBSD.ORG Wed Feb 3 20:54:05 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36FD11065692; Wed, 3 Feb 2010 20:54:05 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 279EE8FC08; Wed, 3 Feb 2010 20:54:05 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o13Ks5qd005108; Wed, 3 Feb 2010 20:54:05 GMT (envelope-from rrs@svn.freebsd.org) Received: (from rrs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o13Ks5vg005106; Wed, 3 Feb 2010 20:54:05 GMT (envelope-from rrs@svn.freebsd.org) Message-Id: <201002032054.o13Ks5vg005106@svn.freebsd.org> From: Randall Stewart Date: Wed, 3 Feb 2010 20:54:05 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r203442 - head/lib/libc/mips/sys X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2010 20:54:05 -0000 Author: rrs Date: Wed Feb 3 20:54:04 2010 New Revision: 203442 URL: http://svn.freebsd.org/changeset/base/203442 Log: -White space cleanup (missing spaces in new line) -Remove extra tab. -Took out the duplicate code that cprestore does. All suggested by Neel. Modified: head/lib/libc/mips/sys/ptrace.S Modified: head/lib/libc/mips/sys/ptrace.S ============================================================================== --- head/lib/libc/mips/sys/ptrace.S Wed Feb 3 20:23:47 2010 (r203441) +++ head/lib/libc/mips/sys/ptrace.S Wed Feb 3 20:54:04 2010 (r203442) @@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$"); #endif /* LIBC_SCCS and not lint */ LEAF(ptrace) - .frame sp,40,ra + .frame sp, 40, ra .mask 0x80000000, -8 #ifdef __ABICALLS__ .set noreorder @@ -55,10 +55,7 @@ LEAF(ptrace) .cprestore 16 #endif la t9, _C_LABEL(__error) # locate address of errno - jalr t9 -#ifdef __ABICALLS__ - lw gp, 16(sp) -#endif + jalr t9 sw zero, 0(v0) lw ra, 32(sp) addu sp, sp, 40