URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [config/] [scarts32/] [t-scarts32] - Rev 20
Go to most recent revision | Compare with Previous | Blame | View Log
LIB1ASMSRC = scarts32/libgcc.S
LIB1ASMFUNCS = \
_mulsi3 _muldi3 \
_divsi3 _divdi3 \
_udivsi3 _udivdi3 \
_modsi3 _moddi3 \
_umodsi3 _umoddi3 \
_lshrdi3 \
_ashrdi3 _ashldi3 \
_ffssi2 _ffsdi2 \
_ctzsi2 _ctzdi2 \
_clzsi2 _clzdi2 \
_popcountsi2 _popcountdi2 \
_paritysi2 _paritydi2
TARGET_LIBGCC2_CFLAGS = -I$(INST_SCARTS_TOOLCHAIN_NEWLIB_LIBC_INCLUDE_DIR) -Dinhibit_libc -fno-if-conversion -Os
LIB2FUNCS_EXTRA = \
$(srcdir)/config/scarts32/div.c \
$(srcdir)/config/scarts32/fixfloat.c
# We want fine grained libraries, so use the new code
# to build the floating point emulation libraries.
FPBIT = fp-bit.c
DPBIT = dp-bit.c
fp-bit.c: $(srcdir)/config/fp-bit.c
echo '#define FLOAT' > fp-bit.c
echo '#define ROUND_TOWARDS_ZERO 0' >> fp-bit.c
echo '#define LARGEST_EXPONENT_IS_NORMAL(X) 0' >> fp-bit.c
cat $(srcdir)/config/fp-bit.c >> fp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c
echo '#define ROUND_TOWARDS_ZERO 0' > dp-bit.c
echo '#define LARGEST_EXPONENT_IS_NORMAL(X) 0' >> dp-bit.c
cat $(srcdir)/config/fp-bit.c >> dp-bit.c
# Enable the following if multilibs are needed.
# See gcc/genmultilib, gcc/doc/gcc.texi and gcc/doc/tm.texi
# for a description of the options and their values.
#
# MULTILIB_OPTIONS =
# MULTILIB_DIRNAMES =
# MULTILIB_MATCHES =
# MULTILIB_EXCEPTIONS =
# MULTILIB_EXTRA_OPTS =
#
# LIBGCC = stmp-multilib
# INSTALL_LIBGCC = install-multilib
Go to most recent revision | Compare with Previous | Blame | View Log