svn commit: r247912 - head/lib/libstand

Andrew Turner andrew at FreeBSD.org
Thu Mar 7 09:18:53 UTC 2013


Author: andrew
Date: Thu Mar  7 09:18:52 2013
New Revision: 247912
URL: http://svnweb.freebsd.org/changeset/base/247912

Log:
  Add __clzsi2 and ctzsi2. They are required on ARMv4 and ARMv5 to implement
  a number of builtin functions.

Modified:
  head/lib/libstand/Makefile

Modified: head/lib/libstand/Makefile
==============================================================================
--- head/lib/libstand/Makefile	Thu Mar  7 08:00:04 2013	(r247911)
+++ head/lib/libstand/Makefile	Thu Mar  7 09:18:52 2013	(r247912)
@@ -67,6 +67,9 @@ SRCS+= divsi3.S
 .else
 # Compiler support functions
 .PATH: ${.CURDIR}/../../contrib/compiler-rt/lib/
+# __clzsi2 and ctzsi2 for various builtin functions
+SRCS+=	clzsi2.c ctzsi2.c
+# Divide and modulus functions called by the compiler
 SRCS+=	 divmoddi4.c  divmodsi4.c  divdi3.c  divsi3.c  moddi3.c  modsi3.c
 SRCS+=	udivmoddi4.c udivmodsi4.c udivdi3.c udivsi3.c umoddi3.c umodsi3.c
 


More information about the svn-src-all mailing list