diff options
author | andrew <andrew@FreeBSD.org> | 2013-02-05 20:03:58 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2013-02-05 20:03:58 +0000 |
commit | 18658720df177c8047dfc7d4f19be4eb9553b0c1 (patch) | |
tree | 5528efd647c6814be1de774b700fda129d6c39b9 /lib/libstand | |
parent | b313f550e1119059ac3b02a0849b10b166b3a3fd (diff) | |
download | FreeBSD-src-18658720df177c8047dfc7d4f19be4eb9553b0c1.zip FreeBSD-src-18658720df177c8047dfc7d4f19be4eb9553b0c1.tar.gz |
* Add the integer div & mod functions and ARM EABI support functions to
libstand.
* Stop linking the ARM U-Boot loader against libgcc now libstand has the
required symbols.
Diffstat (limited to 'lib/libstand')
-rw-r--r-- | lib/libstand/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/libstand/Makefile b/lib/libstand/Makefile index fd720a9..807136d 100644 --- a/lib/libstand/Makefile +++ b/lib/libstand/Makefile @@ -61,7 +61,20 @@ SRCS+= bcmp.c bcopy.c bzero.c ffs.c memccpy.c memchr.c memcmp.c memcpy.c \ .endif .if ${MACHINE_CPUARCH} == "arm" .PATH: ${.CURDIR}/../libc/arm/gen + +.if ${MK_ARM_EABI} == "no" SRCS+= divsi3.S +.else +# Compiler support functions +.PATH: ${.CURDIR}/../../contrib/compiler-rt/lib/ +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 + +.PATH: ${.CURDIR}/../../contrib/compiler-rt/lib/arm/ +SRCS+= aeabi_idivmod.S aeabi_ldivmod.S aeabi_uidivmod.S aeabi_uldivmod.S +SRCS+= aeabi_memcmp.S aeabi_memcpy.S aeabi_memmove.S aeabi_memset.S +.endif + .endif .if ${MACHINE_CPUARCH} == "ia64" .PATH: ${.CURDIR}/../libc/ia64/string |