1# Copyright (C) 2003, 2004, 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# lib1funcs.asm is currently empty. 20CROSS_LIBGCC1 = 21 22# These are really part of libgcc1, but this will cause them to be 23# built correctly, so... 24 25LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c 26 27# Turn off the SDA while compiling libgcc2. There are no headers for it 28# and we want maximal upward compatibility here. 29 30TARGET_LIBGCC2_CFLAGS = -G 0 -fPIC 31 32fp-bit.c: $(srcdir)/config/fp-bit.c 33 echo '#define FLOAT' > fp-bit.c 34 cat $(srcdir)/config/fp-bit.c >> fp-bit.c 35 36dp-bit.c: $(srcdir)/config/fp-bit.c 37 cat $(srcdir)/config/fp-bit.c > dp-bit.c 38 39# We need to use -fpic when we are using gcc to compile the routines in 40# initfini.c. This is only really needed when we are going to use gcc/g++ 41# to produce a shared library, but since we don't know ahead of time when 42# we will be doing that, we just always use -fpic when compiling the 43# routines in initfini.c. 44# -fpic currently isn't supported for the m32r. 45 46CRTSTUFF_T_CFLAGS_S = -fPIC 47 48# Don't install "assert.h" in gcc. We use the one in glibc. 49INSTALL_ASSERT_H = 50 51# Do not build libgcc1. Let gcc generate those functions. The GNU/Linux 52# C library can handle them. 53LIBGCC1 = 54CROSS_LIBGCC1 = 55LIBGCC1_TEST = 56 57SHLIB_MAPFILES += $(srcdir)/config/m32r/libgcc-glibc.ver 58