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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgcc/] [config/] [tilegx/] [t-tilegx] - Rev 747

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

LIB2ADD += \
  $(srcdir)/config/tilepro/atomic.c

SOFTDIVIDE_FUNCS := \
  _tile_udivsi3 \
  _tile_divsi3 \
  _tile_udivdi3 \
  _tile_divdi3 \
  _tile_umodsi3 \
  _tile_modsi3 \
  _tile_umoddi3 \
  _tile_moddi3

softdivide-o = $(patsubst %,%$(objext),$(SOFTDIVIDE_FUNCS))
$(softdivide-o): %$(objext): $(srcdir)/config/tilepro/softdivide.c
        $(gcc_compile) -ffunction-sections -DMAYBE_STATIC= -DL$* -c $< \
          $(vis_hide)
libgcc-objects += $(softdivide-o)

ifeq ($(enable_shared),yes)
softdivide-s-o = $(patsubst %,%_s$(objext),$(SOFTDIVIDE_FUNCS))
$(softdivide-s-o): %_s$(objext): $(srcdir)/config/tilepro/softdivide.c
        $(gcc_s_compile) -ffunction-sections -DMAYBE_STATIC= -DL$* -c $<
libgcc-s-objects += $(softdivide-s-o)
libgcc-eh-objects += _tile_divdi3.o _tile_umoddi3.o
endif

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

powered by: WebSVN 2.1.0

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