2014-09-01 Richard Biener <rguenther@suse.de>
[official-gcc.git] / libgcc / config / arc / t-arc700-uClibc
blobbac08d3a69dd47265bfbf267aca135dc5ec190e7
1 # GCC Makefile fragment for the Synopsys DesignWare ARC700 CPU with uClibc.
3 # Copyright (C) 2007-2014 Free Software Foundation, Inc.
4 # Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
5 #              on behalf of Synopsys Inc.
7 # This file is part of GCC.
9 # GCC is free software; you can redistribute it and/or modify it under
10 # the terms of the GNU General Public License as published by the Free
11 # Software Foundation; either version 3, or (at your option) any later
12 # version.
14 # GCC is distributed in the hope that it will be useful, but WITHOUT ANY
15 # WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
17 # for more details.
19 # Under Section 7 of GPL version 3, you are granted additional
20 # permissions described in the GCC Runtime Library Exception, version
21 # 3.1, as published by the Free Software Foundation.
23 # You should have received a copy of the GNU General Public License and
24 # a copy of the GCC Runtime Library Exception along with this program;
25 # see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
26 # <http://www.gnu.org/licenses/>.  */
28 CRTSTUFF_T_CFLAGS += -mno-sdata
30 # Compile crtbeginS.o and crtendS.o with pic.
31 CRTSTUFF_T_CFLAGS_S = $(CRTSTUFF_T_CFLAGS) -mA7 -fPIC
33 # Compile libgcc2.a with pic.
34 TARGET_LIBGCC2_CFLAGS = -mA7 -fPIC
36 PROFILE_OSDEP = prof-freq.o
38 # Override t-slibgcc-elf-ver to hide some lib1func
39 # routines which should not be called via PLT.
40 SHLIB_MAPFILES = libgcc-std.ver $(srcdir)/config/arc/libgcc-excl.ver