mips: FIx clone3 implementation (BZ 31325)
[glibc.git] / sysdeps / aarch64 / Makefile
blob141d7d9cc2bbbce75f47213c07c44a6e49e78fe6
1 long-double-fcts = yes
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
9 endif
11 ifeq ($(subdir),elf)
12 sysdep-dl-routines += dl-bti
14 tests += tst-audit26 \
15 tst-audit27
17 modules-names += \
18 tst-audit26mod \
19 tst-auditmod26 \
20 tst-audit27mod \
21 tst-auditmod27
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
33 endif
35 ifeq ($(subdir),elf)
36 sysdep-rtld-routines += dl-start
37 sysdep-dl-routines += tlsdesc dl-tlsdesc
38 gen-as-const-headers += dl-link.sym
40 tests-internal += tst-ifunc-arg-1 tst-ifunc-arg-2
42 ifeq (yes,$(aarch64-variant-pcs))
43 tests += tst-vpcs
44 modules-names += tst-vpcs-mod
45 LDFLAGS-tst-vpcs-mod.so = -Wl,-z,lazy
46 $(objpfx)tst-vpcs: $(objpfx)tst-vpcs-mod.so
47 endif
48 endif
50 ifeq ($(subdir),csu)
51 gen-as-const-headers += \
52 tlsdesc.sym \
53 rtld-global-offsets.sym
54 endif
56 ifeq ($(subdir),gmon)
57 CFLAGS-mcount.c += -mgeneral-regs-only
58 endif
60 ifeq ($(subdir),math)
61 CPPFLAGS += -I../soft-fp
62 CFLAGS-feupdateenv.c += $(config-cflags-wno-ignored-attributes)
63 endif
65 ifeq ($(subdir),misc)
66 sysdep_headers += sys/ifunc.h
67 sysdep_routines += \
68 __mtag_tag_zero_region \
69 __mtag_tag_region \
70 __arm_za_disable
72 tests += \
73 tst-sme-jmp
74 endif
76 ifeq ($(subdir),malloc)
77 sysdep_malloc_debug_routines = __mtag_tag_zero_region __mtag_tag_region
78 endif