OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [config/] [or32/] [t-default] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
#
2
# t-default is Makefile fragment to be included when
3
#           building gcc for or32 target
4
#
5
 
6
# we don't support -g so don't use it
7
LIBGCC2_DEBUG_CFLAGS =
8
 
9
TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer
10
 
11
LIB1ASMSRC = or32/or32.S
12
LIB1ASMFUNCS = __mulsi3 __udivsi3 __divsi3 __umodsi3 __modsi3
13
 
14
# These are really part of libgcc1, but this will cause them to be
15
# built correctly, so... [taken from t-sparclite]
16
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c
17
 
18
dp-bit.c: $(srcdir)/config/fp-bit.c
19
        cat $(srcdir)/config/fp-bit.c > dp-bit.c
20
 
21
fp-bit.c: $(srcdir)/config/fp-bit.c
22
        echo '#define FLOAT' > fp-bit.c
23
        cat $(srcdir)/config/fp-bit.c >> fp-bit.c
24
 
25
# Build the libraries for both hard and soft floating point
26
 
27
#MULTILIB_OPTIONS = msoft-float
28
#MULTILIB_DIRNAMES = soft-float
29
 
30
#LIBGCC = stmp-multilib
31
#INSTALL_LIBGCC = install-multilib
32
 
33
#LIBGCC =
34
#INSTALL_LIBGCC =
35 177 jeremybenn
 
36
# .init/.fini section routines
37
 
38
$(T)crtinit.o: $(srcdir)/config/or32/initfini.c $(GCC_PASSES) $(CONFIG_H)
39
        $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \
40
         $(MULTILIB_CFLAGS) -DCRT_INIT -finhibit-size-directive -fno-inline-functions \
41
         -g0 -c $(srcdir)/config/or32/initfini.c -o $(T)crtinit.o
42
 
43
$(T)crtfini.o: $(srcdir)/config/or32/initfini.c $(GCC_PASSES) $(CONFIG_H)
44
        $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \
45
         -DCRT_FINI $(MULTILIB_CFLAGS) -finhibit-size-directive -fno-inline-functions \
46
         -g0 -c $(srcdir)/config/or32/initfini.c -o $(T)crtfini.o
47
 
48
#MULTILIB_OPTIONS =
49
MULTILIB_DIRNAMES = be
50
EXTRA_MULTILIB_PARTS = crtinit.o crtfini.o

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.