Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109429400
D27665.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D27665.diff
View Options
Index: head/libexec/rtld-elf/rtld-libc/Makefile.inc
===================================================================
--- head/libexec/rtld-elf/rtld-libc/Makefile.inc
+++ head/libexec/rtld-elf/rtld-libc/Makefile.inc
@@ -51,8 +51,12 @@
getdirentries _getdirentries _close _fcntl _open _openat _read \
_sigprocmask _write readlink __realpathat _setjmp setjmp setjmperr
+# Allow building files from libcompiler_rt. Beware, there are some name
+# collisions between libcompiler_rt files and libc files.
+CRTSRC= ${SRCTOP}/contrib/llvm-project/compiler-rt/lib/builtins
+.PATH: ${CRTSRC}
-# Finally add additional architecture-dependent libc dependencies
+# Finally add additional architecture-dependent dependencies
.if ${LIBC_ARCH} == "arm"
# ARM needs aeabi_unwind_cpp for _setjmp
_libc_other_objects+=aeabi_unwind_cpp
@@ -60,6 +64,7 @@
# __udivdi3 is needed by kvprintf() in rtld_printf.c
# i386 also needs i386_set_gsbase for allocate_initial_tls()
_libc_other_objects+=umoddi3 udivdi3 qdivrem i386_set_gsbase
+SRCS+= udivmoddi4.c
.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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 5, 11:08 PM (5 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16482565
Default Alt Text
D27665.diff (1 KB)
Attached To
Mode
D27665: rtld-elf: link udivmoddi4 from compiler_rt
Attached
Detach File
Event Timeline
Log In to Comment