]>
Commit | Line | Data |
---|---|---|
485a9bb9 | 1 | ifeq ($(subdir),elf) |
c98ec0b9 | 2 | sysdep-rtld-routines += aeabi_read_tp libc-do-syscall |
485a9bb9 DJ |
3 | endif |
4 | ||
4a12df66 | 5 | ifeq ($(subdir),misc) |
0a269341 | 6 | sysdep_routines += ioperm |
6b33f373 | 7 | sysdep_headers += sys/elf.h |
4a12df66 | 8 | endif |
5e9b4624 UD |
9 | |
10 | ifeq ($(subdir),signal) | |
679ee4e3 | 11 | sysdep_routines += sigrestorer |
5e9b4624 | 12 | endif |
ce5c1dab | 13 | |
402a76b6 MH |
14 | ifeq ($(subdir),stdlib) |
15 | gen-as-const-headers += ucontext_i.sym | |
16 | endif | |
25593dca JM |
17 | |
18 | # Add a syscall function to each library that needs one. | |
19 | ||
f507f7d5 MS |
20 | ifeq ($(subdir),crypt) |
21 | libcrypt-sysdep_routines += libc-do-syscall | |
22 | endif | |
23 | ||
25593dca | 24 | ifeq ($(subdir),rt) |
3cb4de47 RM |
25 | librt-sysdep_routines += libc-do-syscall |
26 | librt-shared-only-routines += libc-do-syscall | |
25593dca JM |
27 | endif |
28 | ||
29 | ifeq ($(subdir),nptl) | |
3cb4de47 RM |
30 | libpthread-sysdep_routines += libc-do-syscall |
31 | libpthread-shared-only-routines += libc-do-syscall | |
25593dca JM |
32 | endif |
33 | ||
34 | ifeq ($(subdir),resolv) | |
35 | libanl-sysdep_routines += libc-do-syscall | |
36 | libanl-shared-only-routines += libc-do-syscall | |
37 | endif | |
38 | ||
39 | ifeq ($(subdir),csu) | |
40 | sysdep_routines += libc-do-syscall | |
41 | endif | |
42 | ||
43 | ifeq ($(subdir),nscd) | |
44 | nscd-modules += libc-do-syscall | |
45 | endif | |
46 | ||
47 | ifeq ($(subdir),nss) | |
48 | libnss_db-sysdep_routines += libc-do-syscall | |
49 | libnss_db-shared-only-routines += libc-do-syscall | |
50 | endif | |
51 | ||
52 | ifeq ($(subdir),posix) | |
53 | LDFLAGS-tst-rfc3484 += $(common-objpfx)csu/libc-do-syscall.o | |
54 | LDFLAGS-tst-rfc3484-2 += $(common-objpfx)csu/libc-do-syscall.o | |
55 | LDFLAGS-tst-rfc3484-3 += $(common-objpfx)csu/libc-do-syscall.o | |
56 | endif | |
66625b24 | 57 | |
a451ee33 JM |
58 | abi-variants := soft hard |
59 | ||
60 | ifeq (,$(filter $(default-abi),$(abi-variants))) | |
61 | Unknown ABI, must be one of $(abi-variants) | |
66625b24 JM |
62 | endif |
63 | ||
64 | abi-includes := | |
66625b24 | 65 | abi-soft-condition := !defined __ARM_PCS_VFP |
66625b24 | 66 | abi-hard-condition := defined __ARM_PCS_VFP |