1long-double-fcts = yes
2
3ifeq (yes,$(aarch64-bti))
4# Mark linker output BTI compatible, it warns on non-BTI inputs.
5sysdep-LDFLAGS += -Wl,-z,force-bti
6# Make warnings fatal outside the test system.
7LDFLAGS-lib.so += -Wl,--fatal-warnings
8LDFLAGS-rtld += -Wl,-z,force-bti,--fatal-warnings
9endif
10
11ifeq ($(subdir),elf)
12sysdep-dl-routines += dl-bti
13endif
14
15ifeq ($(subdir),elf)
16sysdep-dl-routines += tlsdesc dl-tlsdesc
17gen-as-const-headers += dl-link.sym
18
19tests-internal += tst-ifunc-arg-1 tst-ifunc-arg-2
20
21ifeq (yes,$(aarch64-variant-pcs))
22tests += tst-vpcs
23modules-names += tst-vpcs-mod
24LDFLAGS-tst-vpcs-mod.so = -Wl,-z,lazy
25$(objpfx)tst-vpcs: $(objpfx)tst-vpcs-mod.so
26endif
27endif
28
29ifeq ($(subdir),csu)
30gen-as-const-headers += tlsdesc.sym
31endif
32
33ifeq ($(subdir),gmon)
34CFLAGS-mcount.c += -mgeneral-regs-only
35endif
36
37ifeq ($(subdir),math)
38CPPFLAGS += -I../soft-fp
39endif
40
41ifeq ($(subdir),misc)
42sysdep_headers += sys/ifunc.h
43sysdep_routines += __mtag_tag_zero_region \
44		   __mtag_tag_region
45endif
46
47ifeq ($(subdir),malloc)
48sysdep_malloc_debug_routines = __mtag_tag_zero_region __mtag_tag_region
49endif
50