| # These functions are included in shared libraries. |
| TARGET_LIBGCC2_CFLAGS = -fPIC |
| |
| # We do not build a Thumb multilib for Linux because the definition of |
| # CLEAR_INSN_CACHE in linux-gas.h does not work in Thumb mode. |
| MULTILIB_OPTIONS = |
| MULTILIB_DIRNAMES = |
| |
| # Use a version of div0 which raises SIGFPE. |
| LIB1ASMFUNCS := $(filter-out _dvmd_tls,$(LIB1ASMFUNCS)) _dvmd_lnx |
| |
| # These functions are present in both lib1funcs.asm and arm-libgcc2.c. Only |
| # one version of a function is built based on compilation time arch setting. |
| LIB2FUNCS_EXTRA += $(srcdir)/config/arm/arm-libgcc2.c |
| LIB2FUNCS_EXCLUDE += _clzdi2 _clzsi2 |
| LIB1ASMFUNCS += _clzdi2 _clzsi2 |
| |
| # Multilib the standard Linux files. Don't include crti.o or crtn.o, |
| # which are provided by glibc. |
| EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o |