ifeq ($(subdir),gmon)
sysdep_routines += _mcount
endif
ifeq ($(subdir),csu)
ifeq (yes,$(build-shared))
# Compatibility
sysdep_routines += divdi3
shared-only-routines += divdi3