t-linux revision 1.1
1# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003,
2# 2004 Free Software Foundation, Inc.
3#
4# This file is part of GCC.
5#
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)
9# any later version.
10#
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.
15#
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/>.
19
20# Compile crtbeginS.o and crtendS.o with pic.
21CRTSTUFF_T_CFLAGS_S = $(CRTSTUFF_T_CFLAGS) -fPIC
22# Compile libgcc2.a with pic.
23TARGET_LIBGCC2_CFLAGS = -fPIC
24
25# Override t-slibgcc-elf-ver to export some libgcc symbols with
26# the symbol versions that glibc used.
27SHLIB_MAPFILES += $(srcdir)/config/libgcc-glibc.ver
28
29# Use unwind-dw2-fde-glibc
30LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/unwind-dw2-fde-glibc.c \
31  $(srcdir)/unwind-sjlj.c $(srcdir)/gthr-gnat.c $(srcdir)/unwind-c.c
32LIB2ADDEHDEP = unwind.inc unwind-dw2-fde.h unwind-dw2-fde.c
33