Changeset View
Changeset View
Standalone View
Standalone View
libexec/rtld-elf/rtld-libc/Makefile.inc
Show All 35 Lines | |||||
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 bzero memset memchr memcmp memcpy memmove \ | _libc_string_objects= bcmp bcopy bzero memset memchr memcmp memcpy memmove \ | ||||
stpncpy strcat strchr strcmp stpcpy strcpy strcspn strdup strlcat strlcpy \ | stpncpy strcat strchr strchrnul strcmp stpcpy strcpy strcspn strdup \ | ||||
strlen strncmp strncpy strrchr strsep strspn strstr strtok | strlcat strlcpy 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 sigfastblock munmap mprotect \ | cerror geteuid getegid sigfastblock munmap mprotect \ | ||||
sysarch __sysctl issetugid __getcwd utrace getpid \ | sysarch __sysctl issetugid __getcwd utrace getpid \ | ||||
thr_self thr_kill pread mmap lseek _exit _fstat _fstatat _fstatfs \ | 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 __realpathat _setjmp setjmp setjmperr | _sigprocmask _write readlink __realpathat _setjmp setjmp setjmperr | ||||
Show All 36 Lines |