2015-01-18 06:29:12 +00:00
|
|
|
ifeq ($(subdir),stdlib)
|
|
|
|
gen-as-const-headers += ucontext_i.sym
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(subdir),misc)
|
2018-04-27 19:11:24 +00:00
|
|
|
# MIPS-style cacheflush routine
|
2015-01-18 06:29:12 +00:00
|
|
|
sysdep_headers += sys/cachectl.h
|
|
|
|
sysdep_routines += cacheflush
|
|
|
|
endif
|
2019-11-13 11:00:38 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),csu)
|
|
|
|
# Work around an incorrect assumption that an object of variably
|
|
|
|
# modified type, with a small fixed size but a large variable-sized
|
|
|
|
# part (the static_slotinfo variable in libc-tls.c) is allocated in
|
|
|
|
# the small data section, not the data section where it belongs based
|
|
|
|
# on its size. See GCC PR 92499.
|
|
|
|
CFLAGS-libc-tls.c += -mgpopt=none
|
|
|
|
endif
|