URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
38 |
julius |
LIB1ASMSRC = arc/lib1funcs.asm
|
2 |
|
|
LIB1ASMFUNCS = _mulsi3 _umulsidi3 _udivsi3 _divsi3 _umodsi3 _modsi3 _divmod_tools
|
3 |
|
|
|
4 |
|
|
# We need libgcc routines to be mangled according to which cpu they
|
5 |
|
|
# were compiled for.
|
6 |
|
|
# ??? -mmangle-cpu passed by default for now.
|
7 |
|
|
#LIBGCC2_CFLAGS = -g1 -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) -mmangle-cpu
|
8 |
|
|
|
9 |
|
|
# We want fine grained libraries, so use the new code to build the
|
10 |
|
|
# floating point emulation libraries.
|
11 |
|
|
FPBIT = fp-bit.c
|
12 |
|
|
DPBIT = dp-bit.c
|
13 |
|
|
|
14 |
|
|
dp-bit.c: $(srcdir)/config/fp-bit.c
|
15 |
|
|
echo '#ifndef __big_endian__' > dp-bit.c
|
16 |
|
|
echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c
|
17 |
|
|
echo '#endif' >> dp-bit.c
|
18 |
|
|
cat $(srcdir)/config/fp-bit.c >> dp-bit.c
|
19 |
|
|
|
20 |
|
|
fp-bit.c: $(srcdir)/config/fp-bit.c
|
21 |
|
|
echo '#define FLOAT' > fp-bit.c
|
22 |
|
|
echo '#ifndef __big_endian__' >> fp-bit.c
|
23 |
|
|
echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
|
24 |
|
|
echo '#endif' >> fp-bit.c
|
25 |
|
|
cat $(srcdir)/config/fp-bit.c >> fp-bit.c
|
26 |
|
|
|
27 |
|
|
# .init/.fini section routines
|
28 |
|
|
|
29 |
|
|
$(T)crtinit.o: $(srcdir)/config/arc/initfini.c $(GCC_PASSES) $(CONFIG_H)
|
30 |
|
|
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \
|
31 |
|
|
$(MULTILIB_CFLAGS) -DCRT_INIT -finhibit-size-directive -fno-inline-functions \
|
32 |
|
|
-g0 -c $(srcdir)/config/arc/initfini.c -o $(T)crtinit.o
|
33 |
|
|
|
34 |
|
|
$(T)crtfini.o: $(srcdir)/config/arc/initfini.c $(GCC_PASSES) $(CONFIG_H)
|
35 |
|
|
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \
|
36 |
|
|
-DCRT_FINI $(MULTILIB_CFLAGS) -finhibit-size-directive -fno-inline-functions \
|
37 |
|
|
-g0 -c $(srcdir)/config/arc/initfini.c -o $(T)crtfini.o
|
38 |
|
|
|
39 |
|
|
MULTILIB_OPTIONS = EB
|
40 |
|
|
MULTILIB_DIRNAMES = be
|
41 |
|
|
EXTRA_MULTILIB_PARTS = crtinit.o crtfini.o
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.