Add __clzsi2 and ctzsi2. They are required on ARMv4 and ARMv5 to implement

a number of builtin functions.
This commit is contained in:
Andrew Turner 2013-03-07 09:18:52 +00:00
parent 2112695c03
commit e54c5a4733
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=247912

View File

@ -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