2012-07-03 19:14:59 +00:00
|
|
|
gnulib-arch = $(elfobjdir)/libgcc-stubs.a
|
|
|
|
static-gnulib-arch = $(elfobjdir)/libgcc-stubs.a
|
|
|
|
|
2011-03-05 03:39:15 +00:00
|
|
|
ifeq ($(subdir),elf)
|
|
|
|
sysdep-dl-routines += tlsdesc dl-tlsdesc
|
2012-04-21 16:30:03 +00:00
|
|
|
sysdep_routines += aeabi_unwind_cpp_pr1 find_exidx tlsdesc dl-tlsdesc
|
|
|
|
sysdep-rtld-routines += aeabi_unwind_cpp_pr1 tlsdesc dl-tlsdesc
|
|
|
|
shared-only-routines += aeabi_unwind_cpp_pr1
|
2012-07-03 19:14:59 +00:00
|
|
|
|
|
|
|
$(objpfx)libgcc-stubs.a: $(objpfx)aeabi_unwind_cpp_pr1.os
|
|
|
|
$(build-extra-lib)
|
|
|
|
|
|
|
|
lib-noranlib: $(objpfx)libgcc-stubs.a
|
2011-03-05 03:39:15 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(subdir),csu)
|
2012-04-21 16:30:03 +00:00
|
|
|
# get offset to rtld_global._dl_hwcap
|
|
|
|
gen-as-const-headers += rtld-global-offsets.sym tlsdesc.sym
|
|
|
|
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
|
|
|
|
|
|
|
|
sysdep_routines += $(aeabi_constants) $(aeabi_routines)
|
|
|
|
static-only-routines += $(aeabi_constants)
|
2011-03-05 03:39:15 +00:00
|
|
|
endif
|
2012-01-06 20:14:44 +00:00
|
|
|
|
2012-04-21 16:30:03 +00:00
|
|
|
ifeq ($(subdir),gmon)
|
|
|
|
sysdep_routines += arm-mcount
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(subdir),debug)
|
|
|
|
CFLAGS-backtrace.c += -funwind-tables
|
|
|
|
endif
|