]>
Commit | Line | Data |
---|---|---|
650425ce UD |
1 | ifeq ($(subdir),string) |
2 | CFLAGS-memcmp.c += -Wno-uninitialized | |
3 | endif | |
052b6a6c UD |
4 | |
5 | ifeq ($(subdir),elf) | |
e39e6956 | 6 | # extra shared linker files to link into dl-allobjs.so and libc |
67385a01 CES |
7 | sysdep-dl-routines += dl-machine hwcapinfo |
8 | sysdep_routines += dl-machine hwcapinfo | |
e39e6956 | 9 | # extra shared linker files to link only into dl-allobjs.so |
67385a01 | 10 | sysdep-rtld-routines += dl-machine hwcapinfo |
afcd9480 AM |
11 | # Don't optimize GD tls sequence to LE. |
12 | LDFLAGS-tst-tlsopt-powerpc += -Wl,--no-tls-optimize | |
13 | tests += tst-tlsopt-powerpc | |
91ac3a7d TMQMF |
14 | |
15 | ifneq (no,$(multi-arch)) | |
16 | tests-static += tst-tlsifunc-static | |
17 | tests-internal += tst-tlsifunc-static | |
18 | ifeq (yes,$(build-shared)) | |
19 | tests-internal += tst-tlsifunc | |
20 | endif # build-shared | |
21 | endif # multi-arch | |
22 | endif # subdir = elf | |
5ef6ae4b | 23 | |
5c76ff27 UD |
24 | ifeq ($(subdir),setjmp) |
25 | ifeq (yes,$(build-shared)) | |
26 | sysdep_routines += novmx-longjmp novmx-sigjmp | |
27 | endif | |
28 | endif | |
29 | ||
5ef6ae4b | 30 | ifeq ($(subdir),csu) |
89cd9569 | 31 | # get offset to rtld_global._dl_hwcap and rtld_global._dl_hwcap2 |
5ef6ae4b | 32 | gen-as-const-headers += rtld-global-offsets.sym |
f0b264f1 AZ |
33 | # get offset to __locale_struct.__ctype_tolower |
34 | gen-as-const-headers += locale-defines.sym | |
5ef6ae4b | 35 | endif |
d9dc34cd | 36 | |
67385a01 | 37 | ifeq ($(subdir),nptl) |
7c3018f9 | 38 | tests-internal += test-get_hwcap test-get_hwcap-static |
67385a01 CES |
39 | tests-static += test-get_hwcap-static |
40 | endif | |
41 | ||
d9dc34cd TMQMF |
42 | ifeq ($(subdir),misc) |
43 | sysdep_headers += sys/platform/ppc.h | |
44 | tests += test-gettimebase | |
6ec41402 | 45 | tests += tst-set_ppr |
d9dc34cd | 46 | endif |
1695c773 AZ |
47 | |
48 | ifneq (,$(filter %le,$(config-machine))) | |
49 | abilist-pattern = %-le.abilist | |
50 | endif |