ifeq ($(subdir),csu)
aeabi_constants = aeabi_lcsts aeabi_sighandlers aeabi_math
aeabi_routines = aeabi_assert aeabi_errno_addr aeabi_mb_cur_max
ifeq (y,$(OPTION_EGLIBC_LOCALE_CODE))
aeabi_routines += aeabi_localeconv
endif

static-only-routines += $(aeabi_constants)

ifeq ($(base-machine),powerpc)
# These routines need to be static for Power, since we can't allocate
# symbol versions for them.
static-only-routines += $(aeabi_routines)
else
sysdep_routines += $(aeabi_constants) $(aeabi_routines)
endif
endif
