]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/rs6000/t-ppccomm
Move crtstuff support to toplevel libgcc
[thirdparty/gcc.git] / gcc / config / rs6000 / t-ppccomm
1 # Common support for PowerPC ELF targets (both EABI and SVR4).
2 #
3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2006, 2007,
4 # 2008, 2011 Free Software Foundation, Inc.
5 #
6 # This file is part of GCC.
7 #
8 # GCC is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 3, or (at your option)
11 # any later version.
12 #
13 # GCC is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with GCC; see the file COPYING3. If not see
20 # <http://www.gnu.org/licenses/>.
21
22 LIB2FUNCS_EXTRA += tramp.S
23
24 # These can't end up in shared libgcc
25 LIB2FUNCS_STATIC_EXTRA = eabi.S
26
27 eabi.S: $(srcdir)/config/rs6000/eabi.asm
28 cat $(srcdir)/config/rs6000/eabi.asm > eabi.S
29
30 tramp.S: $(srcdir)/config/rs6000/tramp.asm
31 cat $(srcdir)/config/rs6000/tramp.asm > tramp.S
32
33 # Switch synonyms
34 MULTILIB_MATCHES_ENDIAN = mlittle=mlittle-endian mbig=mbig-endian
35 MULTILIB_MATCHES_SYSV = mcall-sysv=mcall-sysv-eabi mcall-sysv=mcall-sysv-noeabi mcall-sysv=mcall-linux mcall-sysv=mcall-netbsd