2012-11-10 01:53:51 +08:00
|
|
|
long-double-fcts = yes
|
|
|
|
|
2020-06-30 18:12:40 +08: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 17:57:20 +08:00
|
|
|
ifeq ($(subdir),elf)
|
|
|
|
sysdep-dl-routines += dl-bti
|
|
|
|
endif
|
|
|
|
|
2012-11-10 01:53:51 +08:00
|
|
|
ifeq ($(subdir),elf)
|
|
|
|
sysdep-dl-routines += tlsdesc dl-tlsdesc
|
|
|
|
gen-as-const-headers += dl-link.sym
|
2019-04-23 22:59:34 +08:00
|
|
|
|
|
|
|
tests-internal += tst-ifunc-arg-1 tst-ifunc-arg-2
|
2020-10-26 23:48:01 +08: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-10 01:53:51 +08:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(subdir),csu)
|
|
|
|
gen-as-const-headers += tlsdesc.sym
|
|
|
|
endif
|
2016-07-11 16:46:08 +08:00
|
|
|
|
|
|
|
ifeq ($(subdir),gmon)
|
|
|
|
CFLAGS-mcount.c += -mgeneral-regs-only
|
|
|
|
endif
|
2018-05-23 01:23:34 +08:00
|
|
|
|
|
|
|
ifeq ($(subdir),math)
|
|
|
|
CPPFLAGS += -I../soft-fp
|
|
|
|
endif
|
2019-04-23 22:59:34 +08:00
|
|
|
|
|
|
|
ifeq ($(subdir),misc)
|
|
|
|
sysdep_headers += sys/ifunc.h
|
2021-02-04 18:04:07 +08:00
|
|
|
sysdep_routines += __mtag_tag_zero_region \
|
2020-12-21 23:03:03 +08:00
|
|
|
__mtag_tag_region
|
2021-07-22 21:08:08 +08:00
|
|
|
endif
|
2020-12-21 23:03:03 +08:00
|
|
|
|
2021-07-22 21:08:08 +08:00
|
|
|
ifeq ($(subdir),malloc)
|
|
|
|
sysdep_malloc_debug_routines = __mtag_tag_zero_region __mtag_tag_region
|
2019-04-23 22:59:34 +08:00
|
|
|
endif
|