1# Copyright (C) 2005, 2009 Free Software Foundation, Inc. 2# 3# This file is part of GCC. 4# 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) 8# any later version. 9# 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. 14# 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/>. 18 19# These functions are included in shared libraries. 20TARGET_LIBGCC2_CFLAGS = -fPIC 21 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. 24MULTILIB_OPTIONS = 25MULTILIB_DIRNAMES = 26 27# Use a version of div0 which raises SIGFPE, and a special __clear_cache. 28LIB1ASMFUNCS := $(filter-out _dvmd_tls,$(LIB1ASMFUNCS)) _dvmd_lnx _clear_cache 29 30# Multilib the standard Linux files. Don't include crti.o or crtn.o, 31# which are provided by glibc. 32EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o 33 34LIB2FUNCS_STATIC_EXTRA += $(srcdir)/config/arm/linux-atomic.c 35