]> git.ipfire.org Git - thirdparty/glibc.git/blob - sysdeps/aarch64/Makefile
posix/glob.c: update from gnulib
[thirdparty/glibc.git] / sysdeps / aarch64 / Makefile
1 long-double-fcts = yes
2
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
10
11 ifeq ($(subdir),elf)
12 sysdep-dl-routines += dl-bti
13
14 tests += tst-audit26 \
15 tst-audit27
16
17 modules-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
25 LDFLAGS-tst-audit26 += -Wl,-z,lazy
26 tst-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)
31 LDFLAGS-tst-audit27 += -Wl,-z,lazy
32 tst-audit27-ENV = LD_AUDIT=$(objpfx)tst-auditmod27.so
33 endif
34
35 ifeq ($(subdir),elf)
36 sysdep-dl-routines += tlsdesc dl-tlsdesc
37 gen-as-const-headers += dl-link.sym
38
39 tests-internal += tst-ifunc-arg-1 tst-ifunc-arg-2
40
41 ifeq (yes,$(aarch64-variant-pcs))
42 tests += tst-vpcs
43 modules-names += tst-vpcs-mod
44 LDFLAGS-tst-vpcs-mod.so = -Wl,-z,lazy
45 $(objpfx)tst-vpcs: $(objpfx)tst-vpcs-mod.so
46 endif
47 endif
48
49 ifeq ($(subdir),csu)
50 gen-as-const-headers += tlsdesc.sym
51 endif
52
53 ifeq ($(subdir),gmon)
54 CFLAGS-mcount.c += -mgeneral-regs-only
55 endif
56
57 ifeq ($(subdir),math)
58 CPPFLAGS += -I../soft-fp
59 endif
60
61 ifeq ($(subdir),misc)
62 sysdep_headers += sys/ifunc.h
63 sysdep_routines += __mtag_tag_zero_region \
64 __mtag_tag_region
65 endif
66
67 ifeq ($(subdir),malloc)
68 sysdep_malloc_debug_routines = __mtag_tag_zero_region __mtag_tag_region
69 endif