1# The default ABI is 32.
2default-abi := 32
3
4ifeq ($(subdir),misc)
5sysdep_routines += ioperm iopl vm86
6
7tests += tst-bz21269
8endif
9
10ifeq ($(subdir),elf)
11sysdep-others += lddlibc4
12install-bin += lddlibc4
13endif
14
15ifeq ($(subdir),io)
16sysdep_routines += libc-do-syscall libc-do-syscall-int80
17endif
18
19ifeq ($(subdir),stdlib)
20gen-as-const-headers += ucontext_i.sym
21endif
22
23ifeq ($(subdir),csu)
24ifeq (yes,$(build-shared))
25sysdep_routines += divdi3
26shared-only-routines += divdi3
27CPPFLAGS-divdi3.c = -Din_divdi3_c
28endif
29endif
30
31ifeq ($(subdir),rt)
32# pull in __syscall_error routine
33librt-routines += sysdep
34librt-shared-only-routines += sysdep
35endif
36