blob: 099fbf68cd6028cd32fec6b515f1b19f3e1b9f25 [file] [log] [blame]
xf.libdd93d52023-05-12 07:10:14 -07001ifeq ($(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# Don't optimize GD tls sequence to LE.
12LDFLAGS-tst-tlsopt-powerpc += -Wl,--no-tls-optimize
13tests += tst-tlsopt-powerpc
14endif
15
16ifeq ($(subdir),setjmp)
17ifeq (yes,$(build-shared))
18sysdep_routines += novmx-longjmp novmx-sigjmp
19endif
20endif
21
22ifeq ($(subdir),csu)
23# get offset to rtld_global._dl_hwcap and rtld_global._dl_hwcap2
24gen-as-const-headers += rtld-global-offsets.sym
25# get offset to __locale_struct.__ctype_tolower
26gen-as-const-headers += locale-defines.sym
27endif
28
29ifeq ($(subdir),nptl)
30tests += test-get_hwcap test-get_hwcap-static
31tests-static += test-get_hwcap-static
32endif
33
34ifeq ($(subdir),misc)
35sysdep_headers += sys/platform/ppc.h
36tests += test-gettimebase
37endif
38
39ifneq (,$(filter %le,$(config-machine)))
40abilist-pattern = %-le.abilist
41endif