aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2019-06-30 17:03:14 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2019-06-30 17:03:14 +0000
commit10faac99fb9f65a70c3855683eb2de0c70eaa41c (patch)
treeeb12323c4526b31c138f13b7362aecdbebcce537
parent4d34b914d41cbe654035093e411c2ca68eb1ec82 (diff)
downloadsrc-10faac99fb9f65a70c3855683eb2de0c70eaa41c.tar.gz
src-10faac99fb9f65a70c3855683eb2de0c70eaa41c.zip
Fix CROSS_TOOLCHAIN=amd64-gcc build after r349554
Apparently clang can remove the reference to __umoddi3 but GCC keeps it. Reported by: lwhsu
Notes
Notes: svn path=/head/; revision=349561
-rw-r--r--libexec/rtld-elf/rtld-libc/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rtld-elf/rtld-libc/Makefile.inc b/libexec/rtld-elf/rtld-libc/Makefile.inc
index 0f4eb9688de0..0294f9d94618 100644
--- a/libexec/rtld-elf/rtld-libc/Makefile.inc
+++ b/libexec/rtld-elf/rtld-libc/Makefile.inc
@@ -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