From owner-svn-src-head@FreeBSD.ORG Tue May 15 22:47:35 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B4B91065675; Tue, 15 May 2012 22:47:35 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 264488FC0A; Tue, 15 May 2012 22:47:35 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q4FMlZF9009247; Tue, 15 May 2012 22:47:35 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q4FMlYaT009244; Tue, 15 May 2012 22:47:34 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <201205152247.q4FMlYaT009244@svn.freebsd.org> From: Marius Strobl Date: Tue, 15 May 2012 22:47:34 +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: r235487 - in head: gnu/lib/libgcc lib/libcompiler_rt 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: Tue, 15 May 2012 22:47:35 -0000 Author: marius Date: Tue May 15 22:47:34 2012 New Revision: 235487 URL: http://svn.freebsd.org/changeset/base/235487 Log: Switch sparc64 to using libcompiler_rt; since r230021 we have a workaround in place allowing it to be used there and since r235388 (see also r235486) we also have usable div/mod optimizations like libgcc has. Modified: head/gnu/lib/libgcc/Makefile head/lib/libcompiler_rt/Makefile Modified: head/gnu/lib/libgcc/Makefile ============================================================================== --- head/gnu/lib/libgcc/Makefile Tue May 15 22:44:55 2012 (r235486) +++ head/gnu/lib/libgcc/Makefile Tue May 15 22:47:34 2012 (r235487) @@ -15,7 +15,7 @@ MK_SSP= no .include "${.CURDIR}/../../usr.bin/cc/Makefile.tgt" -.if ${TARGET_CPUARCH} == "sparc64" || ${TARGET_CPUARCH} == "mips" +.if ${TARGET_CPUARCH} == "mips" LIB= gcc .endif Modified: head/lib/libcompiler_rt/Makefile ============================================================================== --- head/lib/libcompiler_rt/Makefile Tue May 15 22:44:55 2012 (r235486) +++ head/lib/libcompiler_rt/Makefile Tue May 15 22:47:34 2012 (r235487) @@ -176,7 +176,7 @@ SRCS+= ${file}.c . endif .endfor -.if ${MACHINE_CPUARCH} != "sparc64" && ${MACHINE_CPUARCH} != "mips" +.if ${MACHINE_CPUARCH} != "mips" . if ${MK_INSTALLLIB} != "no" SYMLINKS+=libcompiler_rt.a ${LIBDIR}/libgcc.a . endif