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
|
|
|
|
endif
|
|
|
|
|
2012-11-09 17:53:51 +00:00
|
|
|
ifeq ($(subdir),elf)
|
|
|
|
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)
|
|
|
|
gen-as-const-headers += tlsdesc.sym
|
|
|
|
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
|
|
|
|
endif
|
2019-04-23 14:59:34 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),misc)
|
|
|
|
sysdep_headers += sys/ifunc.h
|
2021-02-04 10:04:07 +00:00
|
|
|
sysdep_routines += __mtag_tag_zero_region \
|
2020-12-21 15:03:03 +00:00
|
|
|
__mtag_tag_region
|
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
|