1ifeq ($(subdir),string) 2CFLAGS-memcmp.c += -Wno-uninitialized 3endif 4 5ifeq ($(subdir),elf) 6# extra shared linker files to link into dl-allobjs.so and libc 7sysdep-dl-routines += dl-machine hwcapinfo 8sysdep_routines += dl-machine hwcapinfo 9# extra shared linker files to link only into dl-allobjs.so 10sysdep-rtld-routines += dl-machine hwcapinfo 11 12modules-names += mod-tlsopt-powerpc 13mod-tlsopt-powerpc.so-no-z-defs = yes 14tests += tst-tlsopt-powerpc 15$(objpfx)tst-tlsopt-powerpc: $(objpfx)mod-tlsopt-powerpc.so 16 17tests-static += tst-cache-ppc-static 18tests-internal += tst-cache-ppc-static 19 20ifeq (yes,$(build-shared)) 21modules-names += mod-cache-ppc 22tests += tst-cache-ppc tst-cache-ppc-static-dlopen 23tests-static += tst-cache-ppc-static-dlopen 24test-internal-extras += mod-cache-ppc 25 26mod-cache-ppc.so-no-z-defs = yes 27tst-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 31endif 32 33ifneq (no,$(multi-arch)) 34tests-static += tst-tlsifunc-static 35tests-internal += tst-tlsifunc-static 36ifeq (yes,$(build-shared)) 37tests-internal += tst-tlsifunc 38endif # build-shared 39endif # multi-arch 40endif # subdir = elf 41 42ifeq ($(subdir),setjmp) 43ifeq (yes,$(build-shared)) 44sysdep_routines += novmx-longjmp novmx-sigjmp 45endif 46endif 47 48ifeq ($(subdir),csu) 49# get offset to rtld_global._dl_hwcap and rtld_global._dl_hwcap2 50gen-as-const-headers += rtld-global-offsets.sym 51# get offset to __locale_struct.__ctype_tolower 52gen-as-const-headers += locale-defines.sym 53endif 54 55ifeq ($(subdir),nptl) 56tests-internal += test-get_hwcap test-get_hwcap-static 57tests-static += test-get_hwcap-static 58endif 59 60ifeq ($(subdir),misc) 61sysdep_headers += sys/platform/ppc.h 62tests += test-gettimebase 63tests += tst-set_ppr 64endif 65 66ifeq ($(subdir),wcsmbs) 67CFLAGS-wcscpy.c += -DUNROLL_NTIMES=8 68CFLAGS-wcschr.c += -DUNROLL_NTIMES=8 69CFLAGS-wcsrchr.c += -DUNROLL_NTIMES=8 70endif 71