OSDN Git Service

* config/ia64/crtfastmath.c: New file.
[pf3gnuchains/gcc-fork.git] / gcc / config / ia64 / t-ia64
1 LIB1ASMSRC    = ia64/lib1funcs.asm
2
3 # ??? We change the names of the DImode div/mod files so that they won't
4 # accidentally be overridden by libgcc2.c files.  We used to use __ia64 as
5 # a prefix, now we use __ as the prefix.
6 LIB1ASMFUNCS  = __divtf3 __divdf3 __divsf3 \
7         __divdi3 __moddi3 __udivdi3 __umoddi3 \
8         __divsi3 __modsi3 __udivsi3 __umodsi3 __save_stack_nonlocal \
9         __nonlocal_goto __restore_stack_nonlocal __trampoline
10
11 # ??? Hack to get -P option used when compiling lib1funcs.asm, because Intel
12 # assembler does not accept # line number as a comment.
13 # ??? This breaks C++ pragma interface/implementation, which is used in the
14 # C++ part of libgcc2, hence it had to be disabled.  Must find some other way
15 # to support the Intel assembler.
16 #LIBGCC2_DEBUG_CFLAGS = -g1 -P
17
18 SHLIB_MAPFILES += $(srcdir)/config/ia64/libgcc-ia64.ver
19
20 # For svr4 we build crtbegin.o and crtend.o which serve to add begin and
21 # end labels to the .ctors and .dtors section when we link using gcc.
22
23 EXTRA_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o
24
25 # Effectively disable the crtbegin/end rules using crtstuff.c
26 T = disable
27
28 # Assemble startup files.
29 crtbegin.o: $(srcdir)/config/ia64/crtbegin.asm $(GCC_PASSES)
30         $(GCC_FOR_TARGET) -c -o crtbegin.o -x assembler-with-cpp $(srcdir)/config/ia64/crtbegin.asm
31 crtend.o: $(srcdir)/config/ia64/crtend.asm $(GCC_PASSES)
32         $(GCC_FOR_TARGET) -c -o crtend.o -x assembler-with-cpp $(srcdir)/config/ia64/crtend.asm
33 crtbeginS.o: $(srcdir)/config/ia64/crtbegin.asm $(GCC_PASSES)
34         $(GCC_FOR_TARGET) -DSHARED -c -o crtbeginS.o -x assembler-with-cpp $(srcdir)/config/ia64/crtbegin.asm
35 crtendS.o: $(srcdir)/config/ia64/crtend.asm $(GCC_PASSES)
36         $(GCC_FOR_TARGET) -DSHARED -c -o crtendS.o -x assembler-with-cpp $(srcdir)/config/ia64/crtend.asm
37 crtfastmath.o: $(srcdir)/config/ia64/crtfastmath.c $(GCC_PASSES)
38         $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -c -o crtfastmath.o $(srcdir)/config/ia64/crtfastmath.c
39
40 EXTRA_HEADERS = $(srcdir)/config/ia64/ia64intrin.h
41 LIB2ADDEH = $(srcdir)/config/ia64/unwind-ia64.c $(srcdir)/unwind-sjlj.c