1 # Copyright (C) 2005, 2009, 2010 Free Software Foundation, Inc.
3 # This file is part of GCC.
5 # GCC is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3, or (at your option)
10 # GCC is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with GCC; see the file COPYING3. If not see
17 # <http://www.gnu.org/licenses/>.
19 # These functions are included in shared libraries.
20 TARGET_LIBGCC2_CFLAGS = -fPIC
22 # We do not build a Thumb multilib for Linux because the definition of
23 # CLEAR_INSN_CACHE in linux-gas.h does not work in Thumb mode.
27 #MULTILIB_OPTIONS += mcpu=fa606te/mcpu=fa626te/mcpu=fmp626/mcpu=fa726te
28 #MULTILIB_DIRNAMES += fa606te fa626te fmp626 fa726te
29 #MULTILIB_EXCEPTIONS += *mthumb/*mcpu=fa606te *mthumb/*mcpu=fa626te *mthumb/*mcpu=fmp626 *mthumb/*mcpu=fa726te*
31 # Use a version of div0 which raises SIGFPE, and a special __clear_cache.
32 LIB1ASMFUNCS := $(filter-out _dvmd_tls,$(LIB1ASMFUNCS)) _dvmd_lnx _clear_cache
34 # Multilib the standard Linux files. Don't include crti.o or crtn.o,
35 # which are provided by glibc.
36 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o
38 LIB2FUNCS_STATIC_EXTRA += $(srcdir)/config/arm/linux-atomic.c