svn commit: r236014 - in stable/9: gnu/lib/libgcc lib/libcompiler_rt

Marius Strobl marius at FreeBSD.org
Fri May 25 17:20:01 UTC 2012


Author: marius
Date: Fri May 25 17:20:00 2012
New Revision: 236014
URL: http://svn.freebsd.org/changeset/base/236014

Log:
  MFC: r235487
  
  Switch sparc64 to using libcompiler_rt; since r230021 (MFC'ed to stable/9 in
  r236012) we have a workaround in place allowing it to be used there and since
  r235388 (MFC'ed to stable/9 in r236002) we also have usable div/mod
  optimizations like libgcc has.

Modified:
  stable/9/gnu/lib/libgcc/Makefile
  stable/9/lib/libcompiler_rt/Makefile
Directory Properties:
  stable/9/gnu/lib/libgcc/   (props changed)
  stable/9/lib/libcompiler_rt/   (props changed)

Modified: stable/9/gnu/lib/libgcc/Makefile
==============================================================================
--- stable/9/gnu/lib/libgcc/Makefile	Fri May 25 17:19:30 2012	(r236013)
+++ stable/9/gnu/lib/libgcc/Makefile	Fri May 25 17:20:00 2012	(r236014)
@@ -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: stable/9/lib/libcompiler_rt/Makefile
==============================================================================
--- stable/9/lib/libcompiler_rt/Makefile	Fri May 25 17:19:30 2012	(r236013)
+++ stable/9/lib/libcompiler_rt/Makefile	Fri May 25 17:20:00 2012	(r236014)
@@ -152,7 +152,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-stable-9 mailing list