OSDN Git Service

./
[pf3gnuchains/gcc-fork.git] / gcc / config / ia64 / t-ia64
1 LIB1ASMSRC    = ia64/lib1funcs.asm
2
3 # We use different names for the DImode div/mod files so that they won't
4 # conflict with libgcc2.c files.  We used to use __ia64 as a prefix, now
5 # we use __ as the prefix.  Note that L_divdi3 in libgcc2.c actually defines
6 # a TImode divide function, so there is no actual overlap here between
7 # libgcc2.c and lib1funcs.asm.
8 LIB1ASMFUNCS  = __divxf3 __divdf3 __divsf3 \
9         __divdi3 __moddi3 __udivdi3 __umoddi3 \
10         __divsi3 __modsi3 __udivsi3 __umodsi3 __save_stack_nonlocal \
11         __nonlocal_goto __restore_stack_nonlocal __trampoline \
12         _fixtfdi _fixunstfdi _floatditf
13
14 # ??? Hack to get -P option used when compiling lib1funcs.asm, because Intel
15 # assembler does not accept # line number as a comment.
16 # ??? This breaks C++ pragma interface/implementation, which is used in the
17 # C++ part of libgcc2, hence it had to be disabled.  Must find some other way
18 # to support the Intel assembler.
19 #LIBGCC2_DEBUG_CFLAGS = -g1 -P
20
21 SHLIB_MAPFILES += $(srcdir)/config/ia64/libgcc-ia64.ver
22
23 # Effectively disable the crtbegin/end rules using crtstuff.c
24 T = disable
25
26 # Assemble startup files.
27 $(T)crtbegin.o: $(srcdir)/config/ia64/crtbegin.asm $(GCC_PASSES)
28         $(GCC_FOR_TARGET) -I. -c -o $(T)crtbegin.o -x assembler-with-cpp \
29                 $(srcdir)/config/ia64/crtbegin.asm
30 $(T)crtend.o: $(srcdir)/config/ia64/crtend.asm $(GCC_PASSES)
31         $(GCC_FOR_TARGET) -I. -c -o $(T)crtend.o -x assembler-with-cpp \
32                 $(srcdir)/config/ia64/crtend.asm
33 $(T)crtbeginS.o: $(srcdir)/config/ia64/crtbegin.asm $(GCC_PASSES)
34         $(GCC_FOR_TARGET) -I. -DSHARED -c -o $(T)crtbeginS.o \
35                 -x assembler-with-cpp \
36                 $(srcdir)/config/ia64/crtbegin.asm
37 $(T)crtendS.o: $(srcdir)/config/ia64/crtend.asm $(GCC_PASSES)
38         $(GCC_FOR_TARGET) -I. -DSHARED -c -o $(T)crtendS.o -x assembler-with-cpp \
39                 $(srcdir)/config/ia64/crtend.asm
40 $(T)crtfastmath.o: $(srcdir)/config/ia64/crtfastmath.c $(GCC_PASSES)
41         $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -c -o $(T)crtfastmath.o \
42                 $(srcdir)/config/ia64/crtfastmath.c
43
44 LIB2ADDEH = $(srcdir)/config/ia64/unwind-ia64.c $(srcdir)/unwind-sjlj.c \
45   $(srcdir)/unwind-c.c
46
47 ia64-c.o: $(srcdir)/config/ia64/ia64-c.c $(CONFIG_H) $(SYSTEM_H) \
48     coretypes.h $(TM_H) $(TREE_H) $(CPPLIB_H) $(C_COMMON_H) c-pragma.h toplev.h
49         $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/ia64/ia64-c.c
50
51 # genattrtab generates very long string literals.
52 insn-attrtab.o-warn = -Wno-error
53
54 ia64.o: debug.h $(PARAMS_H)