]>
Commit | Line | Data |
---|---|---|
554066b8 MS |
1 | ifeq ($(subdir),csu) |
2 | sysdep_routines += __read_tp libc-__read_tp | |
3 | static-only-routines += __read_tp | |
4 | shared-only-routines += libc-__read_tp | |
5 | endif | |
6 | ||
7 | ifeq ($(subdir),elf) | |
554066b8 | 8 | sysdep-rtld-routines += __read_tp |
8ab07407 MS |
9 | ifeq ($(build-shared),yes) |
10 | # This is needed for DSO loading from static binaries. | |
11 | sysdep-dl-routines += dl-static | |
8ab07407 | 12 | endif |
554066b8 MS |
13 | endif |
14 | ||
15 | ifeq ($(subdir),misc) | |
16 | sysdep_headers += sys/elf.h | |
17 | endif | |
18 | ||
19 | ifeq ($(subdir),stdlib) | |
20 | gen-as-const-headers += ucontext_i.sym | |
21 | endif | |
b67e7fe0 MS |
22 | |
23 | abi-variants := lp64 | |
24 | abi-variants += lp64_be | |
25 | ||
26 | ifeq (,$(filter $(default-abi),$(abi-variants))) | |
27 | Unknown ABI, must be one of $(abi-variants) | |
28 | endif | |
29 | ||
b67e7fe0 | 30 | abi-lp64-condition := !defined __AARCH64EB__ |
b67e7fe0 | 31 | abi-lp64_be-condition := defined __AARCH64EB__ |