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 ifneq (no
,$(multi-arch
))
18 tests-static
+= tst-tlsifunc-static
19 tests-internal
+= tst-tlsifunc-static
20 ifeq (yes
,$(build-shared
))
21 tests-internal
+= tst-tlsifunc
26 ifeq ($(subdir
),setjmp
)
27 ifeq (yes
,$(build-shared
))
28 sysdep_routines
+= novmx-longjmp novmx-sigjmp
33 # get offset to rtld_global._dl_hwcap and rtld_global._dl_hwcap2
34 gen-as-const-headers
+= rtld-global-offsets.sym
35 # get offset to __locale_struct.__ctype_tolower
36 gen-as-const-headers
+= locale-defines.sym
40 tests-internal
+= test-get_hwcap test-get_hwcap-static
41 tests-static
+= test-get_hwcap-static
45 sysdep_headers
+= sys
/platform
/ppc.h
46 tests
+= test-gettimebase
49 # This test is expected to run and exit with EXIT_UNSUPPORTED on
50 # processors that do not implement the Power ISA 2.06 or greater.
51 # But the test makes use of instructions from Power ISA 2.06 and 2.07.
52 CFLAGS-tst-set_ppr.c
+= -Wa
,-many
55 ifeq ($(subdir
),wcsmbs
)
56 CFLAGS-wcscpy.c
+= -DUNROLL_NTIMES
=8
57 CFLAGS-wcschr.c
+= -DUNROLL_NTIMES
=8
58 CFLAGS-wcsrchr.c
+= -DUNROLL_NTIMES
=8