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 13 14tests += tst-audit26 \ 15 tst-audit27 16 17modules-names += \ 18 tst-audit26mod \ 19 tst-auditmod26 \ 20 tst-audit27mod \ 21 tst-auditmod27 22 23$(objpfx)tst-audit26: $(objpfx)tst-audit26mod.so \ 24 $(objpfx)tst-auditmod26.so 25LDFLAGS-tst-audit26 += -Wl,-z,lazy 26tst-audit26-ENV = LD_AUDIT=$(objpfx)tst-auditmod26.so 27 28$(objpfx)tst-audit27: $(objpfx)tst-audit27mod.so \ 29 $(objpfx)tst-auditmod27.so 30$(objpfx)tst-audit27mod.so: $(libsupport) 31LDFLAGS-tst-audit27 += -Wl,-z,lazy 32tst-audit27-ENV = LD_AUDIT=$(objpfx)tst-auditmod27.so 33endif 34 35ifeq ($(subdir),elf) 36sysdep-rtld-routines += dl-start 37sysdep-dl-routines += tlsdesc dl-tlsdesc 38gen-as-const-headers += dl-link.sym 39 40tests-internal += tst-ifunc-arg-1 tst-ifunc-arg-2 41 42ifeq (yes,$(aarch64-variant-pcs)) 43tests += tst-vpcs 44modules-names += tst-vpcs-mod 45LDFLAGS-tst-vpcs-mod.so = -Wl,-z,lazy 46$(objpfx)tst-vpcs: $(objpfx)tst-vpcs-mod.so 47endif 48endif 49 50ifeq ($(subdir),csu) 51gen-as-const-headers += tlsdesc.sym 52endif 53 54ifeq ($(subdir),gmon) 55CFLAGS-mcount.c += -mgeneral-regs-only 56endif 57 58ifeq ($(subdir),math) 59CPPFLAGS += -I../soft-fp 60endif 61 62ifeq ($(subdir),misc) 63sysdep_headers += sys/ifunc.h 64sysdep_routines += __mtag_tag_zero_region \ 65 __mtag_tag_region 66endif 67 68ifeq ($(subdir),malloc) 69sysdep_malloc_debug_routines = __mtag_tag_zero_region __mtag_tag_region 70endif 71