| 1 |
ifeq ($(subdir),string) |
| 2 |
CFLAGS-memcmp.c += -Wno-uninitialized |
| 3 |
endif |
| 4 |
|
| 5 |
ifeq ($(subdir),elf) |
| 6 |
|
| 7 |
sysdep-dl-routines += dl-machine hwcapinfo |
| 8 |
sysdep_routines += dl-machine hwcapinfo |
| 9 |
|
| 10 |
sysdep-rtld-routines += dl-machine hwcapinfo |
| 11 |
|
| 12 |
modules-names += mod-tlsopt-powerpc |
| 13 |
mod-tlsopt-powerpc.so-no-z-defs = yes |
| 14 |
tests += tst-tlsopt-powerpc |
| 15 |
$(objpfx)tst-tlsopt-powerpc: $(objpfx)mod-tlsopt-powerpc.so |
| 16 |
|
| 17 |
tests-static += tst-cache-ppc-static |
| 18 |
tests-internal += tst-cache-ppc-static |
| 19 |
|
| 20 |
ifeq (yes,$(build-shared)) |
| 21 |
modules-names += mod-cache-ppc |
| 22 |
tests += tst-cache-ppc tst-cache-ppc-static-dlopen |
| 23 |
tests-static += tst-cache-ppc-static-dlopen |
| 24 |
test-internal-extras += mod-cache-ppc |
| 25 |
|
| 26 |
mod-cache-ppc.so-no-z-defs = yes |
| 27 |
tst-cache-ppc-static-dlopen-ENV = LD_LIBRARY_PATH=$(objpfx):$(common-objpfx):$(common-objpfx)elf |
| 28 |
$(objpfx)tst-cache-ppc-static-dlopen.out: $(objpfx)mod-cache-ppc.so |
| 29 |
|
| 30 |
$(objpfx)tst-cache-ppc: $(objpfx)mod-cache-ppc.so |
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
LDFLAGS-tst-tls23-mod.so = -Wl,--no-tls-get-addr-optimize |
| 36 |
endif |
| 37 |
|
| 38 |
ifneq (no,$(multi-arch)) |
| 39 |
tests-static += tst-tlsifunc-static |
| 40 |
tests-internal += tst-tlsifunc-static |
| 41 |
ifeq (yes,$(build-shared)) |
| 42 |
tests-internal += tst-tlsifunc |
| 43 |
endif |
| 44 |
endif |
| 45 |
endif |
| 46 |
|
| 47 |
ifeq ($(subdir),setjmp) |
| 48 |
ifeq (yes,$(build-shared)) |
| 49 |
sysdep_routines += novmx-longjmp novmx-sigjmp |
| 50 |
endif |
| 51 |
endif |
| 52 |
|
| 53 |
ifeq ($(subdir),csu) |
| 54 |
|
| 55 |
gen-as-const-headers += rtld-global-offsets.sym |
| 56 |
|
| 57 |
gen-as-const-headers += locale-defines.sym |
| 58 |
endif |
| 59 |
|
| 60 |
ifeq ($(subdir),nptl) |
| 61 |
tests-internal += test-get_hwcap test-get_hwcap-static |
| 62 |
tests-static += test-get_hwcap-static |
| 63 |
endif |
| 64 |
|
| 65 |
ifeq ($(subdir),misc) |
| 66 |
sysdep_headers += sys/platform/ppc.h |
| 67 |
tests += test-gettimebase |
| 68 |
tests += tst-set_ppr |
| 69 |
endif |
| 70 |
|
| 71 |
ifeq ($(subdir),wcsmbs) |
| 72 |
CFLAGS-wcscpy.c += -DUNROLL_NTIMES=8 |
| 73 |
CFLAGS-wcschr.c += -DUNROLL_NTIMES=8 |
| 74 |
CFLAGS-wcsrchr.c += -DUNROLL_NTIMES=8 |
| 75 |
endif |