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

Alexander Kabaev kan at FreeBSD.org
Wed Dec 29 17:12:06 UTC 2010


Author: kan
Date: Wed Dec 29 17:12:05 2010
New Revision: 216804
URL: http://svn.freebsd.org/changeset/base/216804

Log:
  Switch mips architectures back to libgcc.
  
  MIPS64 n64 binaries are broken with libcompiler_rt at this time.
  Switch mips back to libgcc until the cause of breakage is analyzed
  and fixed.

Modified:
  head/gnu/lib/libgcc/Makefile
  head/lib/libcompiler_rt/Makefile

Modified: head/gnu/lib/libgcc/Makefile
==============================================================================
--- head/gnu/lib/libgcc/Makefile	Wed Dec 29 16:59:33 2010	(r216803)
+++ head/gnu/lib/libgcc/Makefile	Wed Dec 29 17:12:05 2010	(r216804)
@@ -15,7 +15,7 @@ MK_SSP=	no
 
 .include "${.CURDIR}/../../usr.bin/cc/Makefile.tgt"
 
-.if ${TARGET_CPUARCH} == "sparc64"
+.if ${TARGET_CPUARCH} == "sparc64" || ${TARGET_CPUARCH} == "mips"
 LIB=		gcc
 .endif
 

Modified: head/lib/libcompiler_rt/Makefile
==============================================================================
--- head/lib/libcompiler_rt/Makefile	Wed Dec 29 16:59:33 2010	(r216803)
+++ head/lib/libcompiler_rt/Makefile	Wed Dec 29 17:12:05 2010	(r216804)
@@ -147,7 +147,7 @@ SRCS+=	${file}.c
 . endif
 .endfor
 
-.if ${MACHINE_CPUARCH} != "sparc64"
+.if ${MACHINE_CPUARCH} != "sparc64" && ${MACHINE_CPUARCH} != "mips"
 . if ${MK_INSTALLLIB} != "no"
 SYMLINKS+=libcompiler_rt.a ${LIBDIR}/libgcc.a
 . endif


More information about the svn-src-head mailing list