0
|
1 # lib1funcs.asm is currently empty.
|
|
2 CROSS_LIBGCC1 =
|
|
3
|
|
4 # These are really part of libgcc1, but this will cause them to be
|
|
5 # built correctly, so...
|
|
6
|
|
7 LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c
|
|
8
|
|
9 # Turn off the SDA while compiling libgcc2. There are no headers for it
|
|
10 # and we want maximal upward compatibility here.
|
|
11
|
|
12 TARGET_LIBGCC2_CFLAGS = -G 0 -fPIC
|
|
13
|
|
14 fp-bit.c: $(srcdir)/config/fp-bit.c
|
|
15 echo '#define FLOAT' > fp-bit.c
|
|
16 cat $(srcdir)/config/fp-bit.c >> fp-bit.c
|
|
17
|
|
18 dp-bit.c: $(srcdir)/config/fp-bit.c
|
|
19 cat $(srcdir)/config/fp-bit.c > dp-bit.c
|
|
20
|
|
21 # 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++
|
|
23 # 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
|
|
25 # routines in initfini.c.
|
|
26 # -fpic currently isn't supported for the m32r.
|
|
27
|
|
28 CRTSTUFF_T_CFLAGS_S = -fPIC
|
|
29
|
|
30
|
|
31 # Don't run fixproto
|
|
32 STMP_FIXPROTO =
|
|
33
|
|
34 # Don't install "assert.h" in gcc. We use the one in glibc.
|
|
35 INSTALL_ASSERT_H =
|
|
36
|
|
37 # Do not build libgcc1. Let gcc generate those functions. The GNU/Linux
|
|
38 # C library can handle them.
|
|
39 LIBGCC1 =
|
|
40 CROSS_LIBGCC1 =
|
|
41 LIBGCC1_TEST =
|
|
42
|
|
43 SHLIB_MAPFILES += $(srcdir)/config/m32r/libgcc-glibc.ver
|