2011-03-21 Daniel Jacobowitz <dan@codesourcery.com>
[official-gcc.git] / gcc / config / rs6000 / t-lynx
blob4befd5e7df585bea0a5ce58b05d0285e38fc5bab
1 # Copyright (C) 2004 Free Software Foundation, Inc.
3 # This file is part of GCC.
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.
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.
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/>.
19 LIB2FUNCS_EXTRA = tramp.S
21 tramp.S: $(srcdir)/config/rs6000/tramp.asm
22         cat $(srcdir)/config/rs6000/tramp.asm > tramp.S
24 FPBIT = fp-bit.c
25 DPBIT = dp-bit.c
27 dp-bit.c: $(srcdir)/config/fp-bit.c
28         cat $(srcdir)/config/fp-bit.c > dp-bit.c
30 fp-bit.c: $(srcdir)/config/fp-bit.c
31         echo '#define FLOAT' > fp-bit.c
32         cat $(srcdir)/config/fp-bit.c >> fp-bit.c
34 LIBGCC = stmp-multilib
35 INSTALL_LIBGCC = install-multilib
37 MULTILIB_OPTIONS    += msoft-float
38 MULTILIB_DIRNAMES   += soft-float
40 MULTILIB_OPTIONS    += maltivec
41 MULTILIB_DIRNAMES   += altivec
43 MULTILIB_EXCEPTIONS = *msoft-float/*maltivec*
45 EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o 
47 # If .sdata is enabled __CTOR_{LIST,END}__ go into .sdata instead of
48 # .ctors.
49 CRTSTUFF_T_CFLAGS = -mno-sdata 
51 # Compile crtbeginS.o and crtendS.o with pic. 
52 CRTSTUFF_T_CFLAGS_S = -fPIC -mno-sdata 
54 Local Variables:
55 mode: makefile
56 End: