1 LIB1ASMSRC = d30v/libgcc1.asm
2 LIB1ASMFUNCS = _udivsi3 _divsi3
4 # Turn on full debug for libgcc.a.
5 LIBGCC2_DEBUG_CFLAGS = -g
7 # We want fine grained libraries, so use the new code to build the
8 # floating point emulation libraries.
12 dp-bit.c: $(srcdir)/config/fp-bit.c config.status
13 cat $(srcdir)/config/fp-bit.c > dp-bit.c
15 fp-bit.c: $(srcdir)/config/fp-bit.c config.status
16 echo '#define FLOAT' > fp-bit.c
17 echo '#define _fpadd_parts _fpadd_parts_sf' >> fp-bit.c
18 cat $(srcdir)/config/fp-bit.c >> fp-bit.c
20 # For svr4 we build crtbegin.o and crtend.o which serve to add begin and
21 # end labels to the .ctors and .dtors section when we link using gcc.
23 EXTRA_PARTS=crtbegin.o crtend.o
25 # We need to use -fPIC when we are using gcc to compile the routines in
26 # crtstuff.c. This is only really needed when we are going to use gcc/g++
27 # to produce a shared library, but since we don't know ahead of time when
28 # we will be doing that, we just always use -fPIC when compiling the
29 # routines in crtstuff.c.
31 # Right now, disable, since we don't support shared libraries on d30v yet.
32 #CRTSTUFF_T_CFLAGS = -fPIC