comparison gcc/config/m32r/t-linux @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents 77e2b8dfacca
children 84e7813d76e9
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 # Copyright (C) 2003, 2004, 2009 Free Software Foundation, Inc. 1 # Copyright (C) 2003-2017 Free Software Foundation, Inc.
2 # 2 #
3 # This file is part of GCC. 3 # This file is part of GCC.
4 # 4 #
5 # GCC is free software; you can redistribute it and/or modify 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 6 # it under the terms of the GNU General Public License as published by
14 # 14 #
15 # You should have received a copy of the GNU General Public License 15 # You should have received a copy of the GNU General Public License
16 # along with GCC; see the file COPYING3. If not see 16 # along with GCC; see the file COPYING3. If not see
17 # <http://www.gnu.org/licenses/>. 17 # <http://www.gnu.org/licenses/>.
18 18
19 # lib1funcs.asm is currently empty.
20 CROSS_LIBGCC1 =
21
22 # These are really part of libgcc1, but this will cause them to be
23 # built correctly, so...
24
25 LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c
26
27 # Turn off the SDA while compiling libgcc2. There are no headers for it
28 # and we want maximal upward compatibility here.
29
30 TARGET_LIBGCC2_CFLAGS = -G 0 -fPIC
31
32 fp-bit.c: $(srcdir)/config/fp-bit.c
33 echo '#define FLOAT' > fp-bit.c
34 cat $(srcdir)/config/fp-bit.c >> fp-bit.c
35
36 dp-bit.c: $(srcdir)/config/fp-bit.c
37 cat $(srcdir)/config/fp-bit.c > dp-bit.c
38
39 # We need to use -fpic when we are using gcc to compile the routines in
40 # initfini.c. This is only really needed when we are going to use gcc/g++
41 # to produce a shared library, but since we don't know ahead of time when
42 # we will be doing that, we just always use -fpic when compiling the
43 # routines in initfini.c.
44 # -fpic currently isn't supported for the m32r.
45
46 CRTSTUFF_T_CFLAGS_S = -fPIC
47
48 # Don't install "assert.h" in gcc. We use the one in glibc. 19 # Don't install "assert.h" in gcc. We use the one in glibc.
49 INSTALL_ASSERT_H = 20 INSTALL_ASSERT_H =
50
51 # Do not build libgcc1. Let gcc generate those functions. The GNU/Linux
52 # C library can handle them.
53 LIBGCC1 =
54 CROSS_LIBGCC1 =
55 LIBGCC1_TEST =
56
57 SHLIB_MAPFILES += $(srcdir)/config/m32r/libgcc-glibc.ver