1 # Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006, 2008, 2009
2 # Free Software Foundation, Inc.
4 # This file is part of GCC.
6 # GCC is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3, or (at your option)
11 # GCC is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with GCC; see the file COPYING3. If not see
18 # <http://www.gnu.org/licenses/>.
20 LIB1ASMFUNCS += _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwork_call_via_rX _clzsi2 _clzdi2
22 # We want fine grained libraries, so use the new code to build the
23 # floating point emulation libraries.
27 fp-bit.c: $(srcdir)/config/fp-bit.c
28 echo '#define FLOAT' > fp-bit.c
29 echo '#ifndef __ARMEB__' >> fp-bit.c
30 echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
31 echo '#endif' >> fp-bit.c
32 cat $(srcdir)/config/fp-bit.c >> fp-bit.c
34 dp-bit.c: $(srcdir)/config/fp-bit.c
35 echo '#ifndef __ARMEB__' > dp-bit.c
36 echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c
37 echo '#define FLOAT_WORD_ORDER_MISMATCH' >> dp-bit.c
38 echo '#endif' >> dp-bit.c
39 cat $(srcdir)/config/fp-bit.c >> dp-bit.c
41 pe.o: $(srcdir)/config/arm/pe.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
42 $(RTL_H) output.h flags.h $(TREE_H) expr.h toplev.h $(TM_P_H)
43 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
44 $(srcdir)/config/arm/pe.c
46 MULTILIB_OPTIONS = mhard-float mthumb
47 MULTILIB_DIRNAMES = fpu thumb
49 LIBGCC = stmp-multilib
50 INSTALL_LIBGCC = install-multilib
51 TARGET_LIBGCC2_CFLAGS =