2012-11-09 17:53:51 +00:00
|
|
|
long-double-fcts = yes
|
|
|
|
|
2020-06-30 10:12:40 +00:00
|
|
|
ifeq (yes,$(aarch64-bti))
|
|
|
|
# Mark linker output BTI compatible, it warns on non-BTI inputs.
|
|
|
|
sysdep-LDFLAGS += -Wl,-z,force-bti
|
|
|
|
# Make warnings fatal outside the test system.
|
|
|
|
LDFLAGS-lib.so += -Wl,--fatal-warnings
|
|
|
|
LDFLAGS-rtld += -Wl,-z,force-bti,--fatal-warnings
|
|
|
|
endif
|
|
|
|
|
2020-06-22 09:57:20 +00:00
|
|
|
ifeq ($(subdir),elf)
|
|
|
|
sysdep-dl-routines += dl-bti
|
2022-01-24 13:46:18 +00:00
|
|
|
|
|
|
|
tests += tst-audit26 \
|
|
|
|
tst-audit27
|
|
|
|
|
|
|
|
modules-names += \
|
|
|
|
tst-audit26mod \
|
|
|
|
tst-auditmod26 \
|
|
|
|
tst-audit27mod \
|
|
|
|
tst-auditmod27
|
|
|
|
|
|
|
|
$(objpfx)tst-audit26: $(objpfx)tst-audit26mod.so \
|
|
|
|
$(objpfx)tst-auditmod26.so
|
|
|
|
LDFLAGS-tst-audit26 += -Wl,-z,lazy
|
|
|
|
tst-audit26-ENV = LD_AUDIT=$(objpfx)tst-auditmod26.so
|
|
|
|
|
|
|
|
$(objpfx)tst-audit27: $(objpfx)tst-audit27mod.so \
|
|
|
|
$(objpfx)tst-auditmod27.so
|
|
|
|
$(objpfx)tst-audit27mod.so: $(libsupport)
|
|
|
|
LDFLAGS-tst-audit27 += -Wl,-z,lazy
|
|
|
|
tst-audit27-ENV = LD_AUDIT=$(objpfx)tst-auditmod27.so
|
2020-06-22 09:57:20 +00:00
|
|
|
endif
|
|
|
|
|
2012-11-09 17:53:51 +00:00
|
|
|
ifeq ($(subdir),elf)
|
2021-12-30 17:08:36 +00:00
|
|
|
sysdep-rtld-routines += dl-start
|
2012-11-09 17:53:51 +00:00
|
|
|
sysdep-dl-routines += tlsdesc dl-tlsdesc
|
|
|
|
gen-as-const-headers += dl-link.sym
|
2019-04-23 14:59:34 +00:00
|
|
|
|
|
|
|
tests-internal += tst-ifunc-arg-1 tst-ifunc-arg-2
|
2020-10-26 15:48:01 +00:00
|
|
|
|
|
|
|
ifeq (yes,$(aarch64-variant-pcs))
|
|
|
|
tests += tst-vpcs
|
|
|
|
modules-names += tst-vpcs-mod
|
|
|
|
LDFLAGS-tst-vpcs-mod.so = -Wl,-z,lazy
|
|
|
|
$(objpfx)tst-vpcs: $(objpfx)tst-vpcs-mod.so
|
|
|
|
endif
|
2012-11-09 17:53:51 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(subdir),csu)
|
2021-09-10 15:52:17 +00:00
|
|
|
gen-as-const-headers += \
|
|
|
|
tlsdesc.sym \
|
|
|
|
rtld-global-offsets.sym
|
2012-11-09 17:53:51 +00:00
|
|
|
endif
|
2016-07-11 08:46:08 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),gmon)
|
|
|
|
CFLAGS-mcount.c += -mgeneral-regs-only
|
|
|
|
endif
|
2018-05-22 17:23:34 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),math)
|
|
|
|
CPPFLAGS += -I../soft-fp
|
2022-03-11 13:40:44 +00:00
|
|
|
CFLAGS-feupdateenv.c += $(config-cflags-wno-ignored-attributes)
|
2018-05-22 17:23:34 +00:00
|
|
|
endif
|
2019-04-23 14:59:34 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),misc)
|
|
|
|
sysdep_headers += sys/ifunc.h
|
2021-09-10 15:52:17 +00:00
|
|
|
sysdep_routines += \
|
|
|
|
__mtag_tag_zero_region \
|
|
|
|
__mtag_tag_region \
|
|
|
|
__arm_za_disable
|
2021-12-21 13:49:37 +00:00
|
|
|
|
|
|
|
tests += \
|
|
|
|
tst-sme-jmp
|
2021-07-22 13:08:08 +00:00
|
|
|
endif
|
2020-12-21 15:03:03 +00:00
|
|
|
|
2021-07-22 13:08:08 +00:00
|
|
|
ifeq ($(subdir),malloc)
|
|
|
|
sysdep_malloc_debug_routines = __mtag_tag_zero_region __mtag_tag_region
|
2019-04-23 14:59:34 +00:00
|
|
|
endif
|