Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 May 2012 22:47:34 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r235487 - in head: gnu/lib/libgcc lib/libcompiler_rt
Message-ID:  <201205152247.q4FMlYaT009244@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205152247.q4FMlYaT009244>