OLD | NEW |
| 1 # Copyright (C) 2003, 2004, 2009 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 |
1 # lib1funcs.asm is currently empty. | 19 # lib1funcs.asm is currently empty. |
2 CROSS_LIBGCC1 = | 20 CROSS_LIBGCC1 = |
3 | 21 |
4 # These are really part of libgcc1, but this will cause them to be | 22 # These are really part of libgcc1, but this will cause them to be |
5 # built correctly, so... | 23 # built correctly, so... |
6 | 24 |
7 LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c | 25 LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c |
8 | 26 |
9 # Turn off the SDA while compiling libgcc2. There are no headers for it | 27 # Turn off the SDA while compiling libgcc2. There are no headers for it |
10 # and we want maximal upward compatibility here. | 28 # and we want maximal upward compatibility here. |
11 | 29 |
12 TARGET_LIBGCC2_CFLAGS = -G 0 -fPIC | 30 TARGET_LIBGCC2_CFLAGS = -G 0 -fPIC |
13 | 31 |
14 fp-bit.c: $(srcdir)/config/fp-bit.c | 32 fp-bit.c: $(srcdir)/config/fp-bit.c |
15 echo '#define FLOAT' > fp-bit.c | 33 echo '#define FLOAT' > fp-bit.c |
16 cat $(srcdir)/config/fp-bit.c >> fp-bit.c | 34 cat $(srcdir)/config/fp-bit.c >> fp-bit.c |
17 | 35 |
18 dp-bit.c: $(srcdir)/config/fp-bit.c | 36 dp-bit.c: $(srcdir)/config/fp-bit.c |
19 cat $(srcdir)/config/fp-bit.c > dp-bit.c | 37 cat $(srcdir)/config/fp-bit.c > dp-bit.c |
20 | 38 |
21 # We need to use -fpic when we are using gcc to compile the routines in | 39 # We need to use -fpic when we are using gcc to compile the routines in |
22 # initfini.c. This is only really needed when we are going to use gcc/g++ | 40 # initfini.c. This is only really needed when we are going to use gcc/g++ |
23 # to produce a shared library, but since we don't know ahead of time when | 41 # to produce a shared library, but since we don't know ahead of time when |
24 # we will be doing that, we just always use -fpic when compiling the | 42 # we will be doing that, we just always use -fpic when compiling the |
25 # routines in initfini.c. | 43 # routines in initfini.c. |
26 # -fpic currently isn't supported for the m32r. | 44 # -fpic currently isn't supported for the m32r. |
27 | 45 |
28 CRTSTUFF_T_CFLAGS_S = -fPIC | 46 CRTSTUFF_T_CFLAGS_S = -fPIC |
29 | 47 |
30 | |
31 # Don't run fixproto | |
32 STMP_FIXPROTO = | |
33 | |
34 # Don't install "assert.h" in gcc. We use the one in glibc. | 48 # Don't install "assert.h" in gcc. We use the one in glibc. |
35 INSTALL_ASSERT_H = | 49 INSTALL_ASSERT_H = |
36 | 50 |
37 # Do not build libgcc1. Let gcc generate those functions. The GNU/Linux | 51 # Do not build libgcc1. Let gcc generate those functions. The GNU/Linux |
38 # C library can handle them. | 52 # C library can handle them. |
39 LIBGCC1 = | 53 LIBGCC1 = |
40 CROSS_LIBGCC1 = | 54 CROSS_LIBGCC1 = |
41 LIBGCC1_TEST = | 55 LIBGCC1_TEST = |
42 | 56 |
43 SHLIB_MAPFILES += $(srcdir)/config/m32r/libgcc-glibc.ver | 57 SHLIB_MAPFILES += $(srcdir)/config/m32r/libgcc-glibc.ver |
OLD | NEW |