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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-dev/] [fsf-gcc-snapshot-1-mar-12/] [or1k-gcc/] [libgcc/] [config/] [spu/] [t-elf] - Diff between revs 734 and 783

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 734 Rev 783
# Don't let CTOR_LIST end up in sdata section.
# Don't let CTOR_LIST end up in sdata section.
# FIXME: This is the default.
# FIXME: This is the default.
CRTSTUFF_T_CFLAGS =
CRTSTUFF_T_CFLAGS =
# We exclude those because the libgcc2.c default versions do not support
# We exclude those because the libgcc2.c default versions do not support
# the SPU single-precision format (round towards zero).  We provide our
# the SPU single-precision format (round towards zero).  We provide our
# own versions below and/or via direct expansion.
# own versions below and/or via direct expansion.
LIB2FUNCS_EXCLUDE = _floatdisf _floatundisf _floattisf _floatunstisf
LIB2FUNCS_EXCLUDE = _floatdisf _floatundisf _floattisf _floatunstisf
LIB2ADD_ST = $(srcdir)/config/spu/float_unssidf.c \
LIB2ADD_ST = $(srcdir)/config/spu/float_unssidf.c \
             $(srcdir)/config/spu/float_unsdidf.c \
             $(srcdir)/config/spu/float_unsdidf.c \
             $(srcdir)/config/spu/float_unsdisf.c \
             $(srcdir)/config/spu/float_unsdisf.c \
             $(srcdir)/config/spu/float_disf.c \
             $(srcdir)/config/spu/float_disf.c \
             $(srcdir)/config/spu/mfc_tag_table.c \
             $(srcdir)/config/spu/mfc_tag_table.c \
             $(srcdir)/config/spu/mfc_tag_reserve.c \
             $(srcdir)/config/spu/mfc_tag_reserve.c \
             $(srcdir)/config/spu/mfc_tag_release.c \
             $(srcdir)/config/spu/mfc_tag_release.c \
             $(srcdir)/config/spu/mfc_multi_tag_reserve.c \
             $(srcdir)/config/spu/mfc_multi_tag_reserve.c \
             $(srcdir)/config/spu/mfc_multi_tag_release.c \
             $(srcdir)/config/spu/mfc_multi_tag_release.c \
             $(srcdir)/config/spu/multi3.c \
             $(srcdir)/config/spu/multi3.c \
             $(srcdir)/config/spu/divmodti4.c \
             $(srcdir)/config/spu/divmodti4.c \
             $(srcdir)/config/spu/divv2df3.c
             $(srcdir)/config/spu/divv2df3.c
# Build TImode conversion routines to support Fortran 128-bit
# Build TImode conversion routines to support Fortran 128-bit
# integer data types.
# integer data types.
LIB2_SIDITI_CONV_FUNCS = yes
LIB2_SIDITI_CONV_FUNCS = yes
HOST_LIBGCC2_CFLAGS += -mwarn-reloc -D__IN_LIBGCC2
HOST_LIBGCC2_CFLAGS += -mwarn-reloc -D__IN_LIBGCC2
# Neither gcc or newlib seem to have a standard way to generate multiple
# Neither gcc or newlib seem to have a standard way to generate multiple
# crt*.o files.  So we don't use the standard crt0.o name anymore.
# crt*.o files.  So we don't use the standard crt0.o name anymore.
cachemgr.o: $(srcdir)/config/spu/cachemgr.c
cachemgr.o: $(srcdir)/config/spu/cachemgr.c
        $(gcc_compile) -c $<
        $(gcc_compile) -c $<
# Specialised rule to add a -D flag.
# Specialised rule to add a -D flag.
cachemgr_nonatomic.o: $(srcdir)/config/spu/cachemgr.c
cachemgr_nonatomic.o: $(srcdir)/config/spu/cachemgr.c
        $(gcc_compile) -DNONATOMIC -c $<
        $(gcc_compile) -DNONATOMIC -c $<
libgcc_%.a: %.o
libgcc_%.a: %.o
        $(AR_FOR_TARGET) -rcs $@ $<
        $(AR_FOR_TARGET) -rcs $@ $<
cache8k.o: $(srcdir)/config/spu/cache.S
cache8k.o: $(srcdir)/config/spu/cache.S
        $(gcc_compile) -D__CACHE_SIZE__=8 -c $<
        $(gcc_compile) -D__CACHE_SIZE__=8 -c $<
cache16k.o: $(srcdir)/config/spu/cache.S
cache16k.o: $(srcdir)/config/spu/cache.S
        $(gcc_compile) -D__CACHE_SIZE__=16 -c $<
        $(gcc_compile) -D__CACHE_SIZE__=16 -c $<
cache32k.o: $(srcdir)/config/spu/cache.S
cache32k.o: $(srcdir)/config/spu/cache.S
        $(gcc_compile) -D__CACHE_SIZE__=32 -c $<
        $(gcc_compile) -D__CACHE_SIZE__=32 -c $<
cache64k.o: $(srcdir)/config/spu/cache.S
cache64k.o: $(srcdir)/config/spu/cache.S
        $(gcc_compile) -D__CACHE_SIZE__=64 -c $<
        $(gcc_compile) -D__CACHE_SIZE__=64 -c $<
cache128k.o: $(srcdir)/config/spu/cache.S
cache128k.o: $(srcdir)/config/spu/cache.S
        $(gcc_compile) -D__CACHE_SIZE__=128 -c $<
        $(gcc_compile) -D__CACHE_SIZE__=128 -c $<
# We provide our own version of __divdf3 that performs better and has
# We provide our own version of __divdf3 that performs better and has
# better support for non-default rounding modes.
# better support for non-default rounding modes.
DPBIT_FUNCS := $(filter-out _div_df, $(DPBIT_FUNCS))
DPBIT_FUNCS := $(filter-out _div_df, $(DPBIT_FUNCS))
 
 

powered by: WebSVN 2.1.0

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