1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

Fix CROSS_TOOLCHAIN=amd64-gcc build after r349554

Apparently clang can remove the reference to __umoddi3 but GCC keeps it.

Reported by:	lwhsu
This commit is contained in:
Alex Richardson 2019-06-30 17:03:14 +00:00
parent 4d34b914d4
commit 10faac99fb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349561

View File

@ -58,7 +58,7 @@ _libc_other_objects+=aeabi_unwind_cpp
.elif ${LIBC_ARCH} == "i386"
# __udivdi3 is needed by kvprintf() in rtld_printf.c
# i386 also needs i386_set_gsbase for allocate_initial_tls()
_libc_other_objects+=udivdi3 qdivrem i386_set_gsbase
_libc_other_objects+=umoddi3 udivdi3 qdivrem i386_set_gsbase
.elif ${LIBC_ARCH} == "powerpc" || ${LIBC_ARCH} == "powerpcspe"
# ppc needs __syncicache for reloc.c and __umoddi3+__udivdi3 for rtld_printf.c
_libc_other_objects+=syncicache umoddi3 udivdi3 qdivrem