2005-10-10 15:29:32 +00:00
|
|
|
ifeq ($(subdir),csu)
|
|
|
|
aeabi_constants = aeabi_lcsts aeabi_sighandlers aeabi_math
|
|
|
|
aeabi_routines = aeabi_assert aeabi_localeconv aeabi_errno_addr \
|
|
|
|
aeabi_mb_cur_max aeabi_atexit aeabi_memclr aeabi_memcpy \
|
|
|
|
aeabi_memmove aeabi_memset
|
2009-06-30 20:10:14 +00:00
|
|
|
CFLAGS-initfini.s += -fno-asynchronous-unwind-tables -fno-unwind-tables
|
2005-10-10 15:29:32 +00:00
|
|
|
|
|
|
|
sysdep_routines += $(aeabi_constants) $(aeabi_routines)
|
2005-10-31 20:49:25 +00:00
|
|
|
static-only-routines += $(aeabi_constants)
|
2005-10-10 15:29:32 +00:00
|
|
|
|
|
|
|
# get offset to rtld_global._dl_hwcap
|
|
|
|
gen-as-const-headers += rtld-global-offsets.sym
|
|
|
|
endif
|
|
|
|
|
2009-06-24 15:55:04 +00:00
|
|
|
ifeq ($(subdir),debug)
|
|
|
|
CFLAGS-backtrace.c += -funwind-tables
|
|
|
|
endif
|
|
|
|
|
2005-10-10 15:29:32 +00:00
|
|
|
ifeq ($(subdir),elf)
|
|
|
|
sysdep_routines += aeabi_unwind_cpp_pr1 find_exidx
|
|
|
|
shared-only-routines += aeabi_unwind_cpp_pr1
|
|
|
|
sysdep-rtld-routines += aeabi_unwind_cpp_pr1
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(subdir),math)
|
|
|
|
$(objpfx)libm.so: $(elfobjdir)/ld.so
|
|
|
|
endif
|
2009-06-30 20:10:14 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),nptl)
|
|
|
|
CFLAGS-pt-initfini.s += -fno-asynchronous-unwind-tables -fno-unwind-tables
|
|
|
|
endif
|