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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [config/] [mips/] [t-sr71k] - Blame information for rev 294

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
# Suppress building libgcc1.a, since the MIPS compiler port is complete
2
# and does not need anything from libgcc1.a.
3
LIBGCC1 =
4
CROSS_LIBGCC1 =
5
 
6
EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o crti.o crtn.o
7
# Don't let CTOR_LIST end up in sdata section.
8
CRTSTUFF_T_CFLAGS = -G 0
9
 
10
# Assemble startup files.
11
$(T)crti.o: $(srcdir)/config/mips/crti.asm $(GCC_PASSES)
12
        $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
13
        -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/mips/crti.asm
14
 
15
$(T)crtn.o: $(srcdir)/config/mips/crtn.asm $(GCC_PASSES)
16
        $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
17
        -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/mips/crtn.asm
18
 
19
# We must build libgcc2.a with -G 0, in case the user wants to link
20
# without the $gp register.
21
TARGET_LIBGCC2_CFLAGS = -G 0
22
 
23
# fp-bit and dp-bit are really part of libgcc1, but this will cause
24
# them to be built correctly, so... [taken from t-sparclite]
25
# We want fine grained libraries, so use the new code to build the
26
# floating point emulation libraries.
27
FPBIT = fp-bit.c
28
DPBIT = dp-bit.c
29
 
30
dp-bit.c: $(srcdir)/config/fp-bit.c
31
        echo '#ifdef __MIPSEL__' > dp-bit.c
32
        echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c
33
        echo '#endif' >> dp-bit.c
34
        echo '#define US_SOFTWARE_GOFAST' >> dp-bit.c
35
        cat $(srcdir)/config/fp-bit.c >> dp-bit.c
36
 
37
fp-bit.c: $(srcdir)/config/fp-bit.c
38
        echo '#define FLOAT' > fp-bit.c
39
        echo '#ifdef __MIPSEL__' >> fp-bit.c
40
        echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
41
        echo '#endif' >> fp-bit.c
42
        echo '#define US_SOFTWARE_GOFAST' >> fp-bit.c
43
        cat $(srcdir)/config/fp-bit.c >> fp-bit.c
44
 
45
# Build the libraries for both hard and soft floating point
46
 
47
MULTILIB_OPTIONS = EL/EB msoft-float mips2
48
MULTILIB_DIRNAMES = el eb soft-float mips2
49
 
50
LIBGCC = stmp-multilib
51
INSTALL_LIBGCC = install-multilib

powered by: WebSVN 2.1.0

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