svn commit: r235487 - in head: gnu/lib/libgcc lib/libcompiler_rt

Marius Strobl marius at FreeBSD.org
Tue May 15 22:47:35 UTC 2012


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


More information about the svn-src-all mailing list