|
Packit |
6c4009 |
ifeq ($(subdir),string)
|
|
Packit |
6c4009 |
CFLAGS-memcmp.c += -Wno-uninitialized
|
|
Packit |
6c4009 |
endif
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
ifeq ($(subdir),elf)
|
|
Packit |
6c4009 |
# extra shared linker files to link into dl-allobjs.so and libc
|
|
Packit |
6c4009 |
sysdep-dl-routines += dl-machine hwcapinfo
|
|
Packit |
6c4009 |
sysdep_routines += dl-machine hwcapinfo
|
|
Packit |
6c4009 |
# extra shared linker files to link only into dl-allobjs.so
|
|
Packit |
6c4009 |
sysdep-rtld-routines += dl-machine hwcapinfo
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
modules-names += mod-tlsopt-powerpc
|
|
Packit |
6c4009 |
mod-tlsopt-powerpc.so-no-z-defs = yes
|
|
Packit |
6c4009 |
tests += tst-tlsopt-powerpc
|
|
Packit |
6c4009 |
$(objpfx)tst-tlsopt-powerpc: $(objpfx)mod-tlsopt-powerpc.so
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
ifneq (no,$(multi-arch))
|
|
Packit |
6c4009 |
tests-static += tst-tlsifunc-static
|
|
Packit |
6c4009 |
tests-internal += tst-tlsifunc-static
|
|
Packit |
6c4009 |
ifeq (yes,$(build-shared))
|
|
Packit |
6c4009 |
tests-internal += tst-tlsifunc
|
|
Packit |
6c4009 |
endif # build-shared
|
|
Packit |
6c4009 |
endif # multi-arch
|
|
Packit |
6c4009 |
endif # subdir = elf
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
ifeq ($(subdir),setjmp)
|
|
Packit |
6c4009 |
ifeq (yes,$(build-shared))
|
|
Packit |
6c4009 |
sysdep_routines += novmx-longjmp novmx-sigjmp
|
|
Packit |
6c4009 |
endif
|
|
Packit |
6c4009 |
endif
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
ifeq ($(subdir),csu)
|
|
Packit |
6c4009 |
# get offset to rtld_global._dl_hwcap and rtld_global._dl_hwcap2
|
|
Packit |
6c4009 |
gen-as-const-headers += rtld-global-offsets.sym
|
|
Packit |
6c4009 |
# get offset to __locale_struct.__ctype_tolower
|
|
Packit |
6c4009 |
gen-as-const-headers += locale-defines.sym
|
|
Packit |
6c4009 |
endif
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
ifeq ($(subdir),nptl)
|
|
Packit |
6c4009 |
tests-internal += test-get_hwcap test-get_hwcap-static
|
|
Packit |
6c4009 |
tests-static += test-get_hwcap-static
|
|
Packit |
6c4009 |
endif
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
ifeq ($(subdir),misc)
|
|
Packit |
6c4009 |
sysdep_headers += sys/platform/ppc.h
|
|
Packit |
6c4009 |
tests += test-gettimebase
|
|
Packit |
6c4009 |
tests += tst-set_ppr
|
|
Packit |
6c4009 |
endif
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
ifneq (,$(filter %le,$(config-machine)))
|
|
Packit |
6c4009 |
abilist-pattern = %-le.abilist
|
|
Packit |
6c4009 |
endif
|