1ifeq ($(subdir),elf) 2sysdep-rtld-routines += aeabi_read_tp libc-do-syscall 3endif 4 5ifeq ($(subdir),misc) 6sysdep_routines += ioperm 7sysdep_headers += sys/elf.h 8endif 9 10ifeq ($(subdir),signal) 11sysdep_routines += sigrestorer 12endif 13 14ifeq ($(subdir),stdlib) 15gen-as-const-headers += ucontext_i.sym 16endif 17 18# Add a syscall function to each library that needs one. 19 20ifeq ($(subdir),crypt) 21libcrypt-sysdep_routines += libc-do-syscall 22endif 23 24ifeq ($(subdir),rt) 25librt-sysdep_routines += libc-do-syscall 26librt-shared-only-routines += libc-do-syscall 27endif 28 29ifeq ($(subdir),resolv) 30libanl-sysdep_routines += libc-do-syscall 31libanl-shared-only-routines += libc-do-syscall 32endif 33 34ifeq ($(subdir),csu) 35sysdep_routines += libc-do-syscall 36endif 37 38ifeq ($(subdir),nscd) 39nscd-modules += libc-do-syscall 40endif 41 42ifeq ($(subdir),nss) 43libnss_db-sysdep_routines += libc-do-syscall 44libnss_db-shared-only-routines += libc-do-syscall 45endif 46 47ifeq ($(subdir),posix) 48LDFLAGS-tst-rfc3484 += $(common-objpfx)csu/libc-do-syscall.o 49LDFLAGS-tst-rfc3484-2 += $(common-objpfx)csu/libc-do-syscall.o 50LDFLAGS-tst-rfc3484-3 += $(common-objpfx)csu/libc-do-syscall.o 51endif 52 53abi-variants := soft hard 54 55ifeq (,$(filter $(default-abi),$(abi-variants))) 56Unknown ABI, must be one of $(abi-variants) 57endif 58 59abi-includes := 60abi-soft-condition := !defined __ARM_PCS_VFP 61abi-hard-condition := defined __ARM_PCS_VFP 62