Changeset View
Changeset View
Standalone View
Standalone View
head/libexec/rtld-elf/rtld-libc/Makefile.inc
Show All 34 Lines | |||||
.PATH: ${LIBC_SRCTOP}/gen | .PATH: ${LIBC_SRCTOP}/gen | ||||
SRCS+= errlst.c getcwd.c getprogname.c raise.c sigsetops.c sysctlnametomib.c \ | SRCS+= errlst.c getcwd.c getprogname.c raise.c sigsetops.c sysctlnametomib.c \ | ||||
__xuname.c | __xuname.c | ||||
# errlst.c needs the errlst.h header from libc: | # errlst.c needs the errlst.h header from libc: | ||||
CFLAGS.errlst.c+=-I${LIBC_SRCTOP}/include | CFLAGS.errlst.c+=-I${LIBC_SRCTOP}/include | ||||
# Use the string and memory .o files from libc instead of rebuilding them (they | # Use the string and memory .o files from libc instead of rebuilding them (they | ||||
# might be using optimized assembly and duplicating that logic here is awkward). | # might be using optimized assembly and duplicating that logic here is awkward). | ||||
_libc_string_objects= bcmp bcopy memchr memcmp memcpy memmove stpncpy strcat \ | _libc_string_objects= bcmp bcopy bzero memset memchr memcmp memcpy memmove \ | ||||
strchr strcmp stpcpy strcpy strcspn strdup strlcat strlcpy strlen strncmp \ | stpncpy strcat strchr strcmp stpcpy strcpy strcspn strdup strlcat strlcpy \ | ||||
strncpy strrchr strsep strspn strstr strtok | strlen strncmp strncpy strrchr strsep strspn strstr strtok | ||||
# Also use all the syscall .o files from libc_nossp_pic: | # Also use all the syscall .o files from libc_nossp_pic: | ||||
_libc_other_objects= sigsetjmp lstat stat fstat fstatat fstatfs syscall \ | _libc_other_objects= sigsetjmp lstat stat fstat fstatat fstatfs syscall \ | ||||
cerror geteuid getegid munmap mprotect sysarch __sysctl issetugid __getcwd \ | cerror geteuid getegid munmap mprotect sysarch __sysctl issetugid __getcwd \ | ||||
utrace thr_self thr_kill pread mmap lseek _exit _fstat _fstatat _fstatfs \ | utrace thr_self thr_kill pread mmap lseek _exit _fstat _fstatat _fstatfs \ | ||||
getdirentries _getdirentries _close _fcntl _open _openat _read \ | getdirentries _getdirentries _close _fcntl _open _openat _read \ | ||||
_sigprocmask _write readlink _setjmp setjmp setjmperr | _sigprocmask _write readlink _setjmp setjmp setjmperr | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |