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
|
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
|
|
|
|
endif
|