3 ifeq (yes
,$(aarch64-bti
))
4 # Mark linker output BTI compatible, it warns on non-BTI inputs.
5 sysdep-LDFLAGS
+= -Wl
,-z
,force-bti
6 # Make warnings fatal outside the test system.
7 LDFLAGS-lib.so
+= -Wl
,--fatal-warnings
8 LDFLAGS-rtld
+= -Wl
,-z
,force-bti
,--fatal-warnings
12 sysdep-dl-routines
+= dl-bti
14 tests
+= tst-audit26 \
23 $(objpfx
)tst-audit26
: $(objpfx
)tst-audit26mod.so \
24 $(objpfx
)tst-auditmod26.so
25 LDFLAGS-tst-audit26
+= -Wl
,-z
,lazy
26 tst-audit26-ENV
= LD_AUDIT
=$(objpfx
)tst-auditmod26.so
28 $(objpfx
)tst-audit27
: $(objpfx
)tst-audit27mod.so \
29 $(objpfx
)tst-auditmod27.so
30 $(objpfx
)tst-audit27mod.so
: $(libsupport
)
31 LDFLAGS-tst-audit27
+= -Wl
,-z
,lazy
32 tst-audit27-ENV
= LD_AUDIT
=$(objpfx
)tst-auditmod27.so
36 sysdep-dl-routines
+= tlsdesc dl-tlsdesc
37 gen-as-const-headers
+= dl-link.sym
39 tests-internal
+= tst-ifunc-arg-1 tst-ifunc-arg-2
41 ifeq (yes
,$(aarch64-variant-pcs
))
43 modules-names
+= tst-vpcs-mod
44 LDFLAGS-tst-vpcs-mod.so
= -Wl
,-z
,lazy
45 $(objpfx
)tst-vpcs
: $(objpfx
)tst-vpcs-mod.so
50 gen-as-const-headers
+= tlsdesc.sym
54 CFLAGS-mcount.c
+= -mgeneral-regs-only
58 CPPFLAGS
+= -I..
/soft-fp
62 sysdep_headers
+= sys
/ifunc.h
63 sysdep_routines
+= __mtag_tag_zero_region \
67 ifeq ($(subdir
),malloc
)
68 sysdep_malloc_debug_routines
= __mtag_tag_zero_region __mtag_tag_region