powerpc: refactor strchr, strchrnul, and strrchr IFUNC.
[glibc.git] / sysdeps / powerpc / Makefile
blob933810fd226b678ef49224da695c2eb4ebe4d7ea
1 ifeq ($(subdir),string)
2 CFLAGS-memcmp.c += -Wno-uninitialized
3 endif
5 ifeq ($(subdir),elf)
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
11 # Don't optimize GD tls sequence to LE.
12 LDFLAGS-tst-tlsopt-powerpc += -Wl,--no-tls-optimize
13 tests += tst-tlsopt-powerpc
14 endif
16 ifeq ($(subdir),setjmp)
17 ifeq (yes,$(build-shared))
18 sysdep_routines += novmx-longjmp novmx-sigjmp
19 endif
20 endif
22 ifeq ($(subdir),csu)
23 # get offset to rtld_global._dl_hwcap and rtld_global._dl_hwcap2
24 gen-as-const-headers += rtld-global-offsets.sym
25 # get offset to __locale_struct.__ctype_tolower
26 gen-as-const-headers += locale-defines.sym
27 endif
29 ifeq ($(subdir),nptl)
30 tests += test-get_hwcap test-get_hwcap-static
31 tests-static += test-get_hwcap-static
32 endif
34 ifeq ($(subdir),misc)
35 sysdep_headers += sys/platform/ppc.h
36 tests += test-gettimebase
37 tests += tst-set_ppr
38 endif
40 ifneq (,$(filter %le,$(config-machine)))
41 abilist-pattern = %-le.abilist
42 endif