1 ifeq ($(subdir
),string
)
2 CFLAGS-memcmp.c
+= -Wno-uninitialized
6 # extra shared linker files to link into dl-allobjs.so and libc
7 sysdep-dl-routines
+= dl-machine hwcapinfo
8 sysdep_routines
+= dl-machine hwcapinfo
9 # extra shared linker files to link only into dl-allobjs.so
10 sysdep-rtld-routines
+= dl-machine hwcapinfo
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
17 tests-static
+= tst-cache-ppc-static
18 tests-internal
+= tst-cache-ppc-static
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
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
30 $(objpfx
)tst-cache-ppc
: $(objpfx
)mod-cache-ppc.so
33 ifneq (no
,$(multi-arch
))
34 tests-static
+= tst-tlsifunc-static
35 tests-internal
+= tst-tlsifunc-static
36 ifeq (yes
,$(build-shared
))
37 tests-internal
+= tst-tlsifunc
42 ifeq ($(subdir
),setjmp
)
43 ifeq (yes
,$(build-shared
))
44 sysdep_routines
+= novmx-longjmp novmx-sigjmp
49 # get offset to rtld_global._dl_hwcap and rtld_global._dl_hwcap2
50 gen-as-const-headers
+= rtld-global-offsets.sym
51 # get offset to __locale_struct.__ctype_tolower
52 gen-as-const-headers
+= locale-defines.sym
56 tests-internal
+= test-get_hwcap test-get_hwcap-static
57 tests-static
+= test-get_hwcap-static
61 sysdep_headers
+= sys
/platform
/ppc.h
62 tests
+= test-gettimebase
66 ifeq ($(subdir
),wcsmbs
)
67 CFLAGS-wcscpy.c
+= -DUNROLL_NTIMES
=8
68 CFLAGS-wcschr.c
+= -DUNROLL_NTIMES
=8
69 CFLAGS-wcsrchr.c
+= -DUNROLL_NTIMES
=8