URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [config/] [or32/] [t-or32] - Rev 820
Go to most recent revision | Compare with Previous | Blame | View Log
#
# t-default is Makefile fragment to be included when
# building gcc for or32 target
#
# we don't support -g so don't use it
LIBGCC2_DEBUG_CFLAGS =
TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer
LIB1ASMSRC = or32/or32.S
LIB1ASMFUNCS = __mulsi3 __udivsi3 __divsi3 __umodsi3 __modsi3
# These are really part of libgcc1, but this will cause them to be
# built correctly, so... [taken from t-sparclite]
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c
cat $(srcdir)/config/fp-bit.c > dp-bit.c
fp-bit.c: $(srcdir)/config/fp-bit.c
echo '#define FLOAT' > fp-bit.c
cat $(srcdir)/config/fp-bit.c >> fp-bit.c
# Build the libraries for both hard and soft floating point
#MULTILIB_OPTIONS = msoft-float
#MULTILIB_DIRNAMES = soft-float
#LIBGCC = stmp-multilib
#INSTALL_LIBGCC = install-multilib
#LIBGCC =
#INSTALL_LIBGCC =
# .init/.fini section routines
$(T)crtinit.o: $(srcdir)/config/or32/initfini.c $(GCC_PASSES) $(CONFIG_H)
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \
$(MULTILIB_CFLAGS) -DCRT_INIT -finhibit-size-directive -fno-inline-functions \
-g0 -c $(srcdir)/config/or32/initfini.c -o $(T)crtinit.o
$(T)crtfini.o: $(srcdir)/config/or32/initfini.c $(GCC_PASSES) $(CONFIG_H)
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \
-DCRT_FINI $(MULTILIB_CFLAGS) -finhibit-size-directive -fno-inline-functions \
-g0 -c $(srcdir)/config/or32/initfini.c -o $(T)crtfini.o
#MULTILIB_OPTIONS =
#MULTILIB_DIRNAMES = be
#EXTRA_MULTILIB_PARTS = crtinit.o crtfini.o
Go to most recent revision | Compare with Previous | Blame | View Log