1 # Copyright (C) 2005, 2009 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 # Use a version of div0 which raises SIGFPE.
28 LIB1ASMFUNCS := $(filter-out _dvmd_tls,$(LIB1ASMFUNCS)) _dvmd_lnx
30 # Multilib the standard Linux files. Don't include crti.o or crtn.o,
31 # which are provided by glibc.
32 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o
34 LIB2FUNCS_STATIC_EXTRA += $(srcdir)/config/arm/linux-atomic.c