OSDN Git Service

* ABOUT-GCC-NLS, ChangeLog, ChangeLog-1997, ChangeLog-1998,
[pf3gnuchains/gcc-fork.git] / gcc / config / rs6000 / t-lynx
1 # Copyright (C) 2004 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 LIB2FUNCS_EXTRA = tramp.S
20
21 tramp.S: $(srcdir)/config/rs6000/tramp.asm
22         cat $(srcdir)/config/rs6000/tramp.asm > tramp.S
23
24 FPBIT = fp-bit.c
25 DPBIT = dp-bit.c
26
27 dp-bit.c: $(srcdir)/config/fp-bit.c
28         cat $(srcdir)/config/fp-bit.c > dp-bit.c
29
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
33
34 LIBGCC = stmp-multilib
35 INSTALL_LIBGCC = install-multilib
36
37 MULTILIB_OPTIONS    += msoft-float
38 MULTILIB_DIRNAMES   += soft-float
39
40 MULTILIB_OPTIONS    += maltivec
41 MULTILIB_DIRNAMES   += altivec
42
43 MULTILIB_EXCEPTIONS = *msoft-float/*maltivec*
44
45 EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o 
46
47 # If .sdata is enabled __CTOR_{LIST,END}__ go into .sdata instead of
48 # .ctors.
49 CRTSTUFF_T_CFLAGS = -mno-sdata 
50  
51 # Compile crtbeginS.o and crtendS.o with pic. 
52 CRTSTUFF_T_CFLAGS_S = -fPIC -mno-sdata 
53
54 Local Variables:
55 mode: makefile
56 End: