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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgcc/] [config/] [tilepro/] [t-tilepro] - Blame information for rev 801

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

Line No. Rev Author Line
1 734 jeremybenn
LIB2ADD += \
2
  $(srcdir)/config/tilepro/softmpy.S \
3
  $(srcdir)/config/tilepro/atomic.c
4
 
5
LIB2FUNCS_EXCLUDE += \
6
  _divdi3 \
7
  _moddi3 \
8
  _muldi3 \
9
  _udivdi3 \
10
  _umoddi3
11
 
12
SOFTDIVIDE_FUNCS := \
13
  _tile_udivsi3 \
14
  _tile_divsi3 \
15
  _tile_udivdi3 \
16
  _tile_divdi3 \
17
  _tile_umodsi3 \
18
  _tile_modsi3 \
19
  _tile_umoddi3 \
20
  _tile_moddi3
21
 
22
softdivide-o = $(patsubst %,%$(objext),$(SOFTDIVIDE_FUNCS))
23
$(softdivide-o): %$(objext): $(srcdir)/config/tilepro/softdivide.c
24
        $(gcc_compile) -ffunction-sections -DMAYBE_STATIC= -DL$* -c $< \
25
          $(vis_hide)
26
libgcc-objects += $(softdivide-o)
27
 
28
ifeq ($(enable_shared),yes)
29
softdivide-s-o = $(patsubst %,%_s$(objext),$(SOFTDIVIDE_FUNCS))
30
$(softdivide-s-o): %_s$(objext): $(srcdir)/config/tilepro/softdivide.c
31
        $(gcc_s_compile) -ffunction-sections -DMAYBE_STATIC= -DL$* -c $<
32
libgcc-s-objects += $(softdivide-s-o)
33
endif

powered by: WebSVN 2.1.0

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