Fix HPUX libgcc_s.so linking problem.
[gcc.git] / gcc / config / ia64 / t-ia64
1 LIB1ASMSRC = ia64/lib1funcs.asm
2
3 LIB1ASMFUNCS = _divtf3 _divdf3 _divsf3 \
4 _divdi3 _moddi3 _udivdi3 _umoddi3 \
5 _divsi3 _modsi3 _udivsi3 _umodsi3 _save_stack_nonlocal \
6 _nonlocal_goto _restore_stack_nonlocal _trampoline
7
8 # ??? Hack to get -P option used when compiling lib1funcs.asm, because Intel
9 # assembler does not accept # line number as a comment.
10 # ??? This breaks C++ pragma interface/implementation, which is used in the
11 # C++ part of libgcc2, hence it had to be disabled. Must find some other way
12 # to support the Intel assembler.
13 #LIBGCC2_DEBUG_CFLAGS = -g1 -P
14
15 SHLIB_MAPFILES += $(srcdir)/config/ia64/libgcc-ia64.ver
16
17 # For svr4 we build crtbegin.o and crtend.o which serve to add begin and
18 # end labels to the .ctors and .dtors section when we link using gcc.
19
20 EXTRA_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o
21
22 # Effectively disable the crtbegin/end rules using crtstuff.c
23 T = disable
24
25 # Assemble startup files.
26 crtbegin.o: $(srcdir)/config/ia64/crtbegin.asm $(GCC_PASSES)
27 $(GCC_FOR_TARGET) -c -o crtbegin.o -x assembler-with-cpp $(srcdir)/config/ia64/crtbegin.asm
28 crtend.o: $(srcdir)/config/ia64/crtend.asm $(GCC_PASSES)
29 $(GCC_FOR_TARGET) -c -o crtend.o -x assembler-with-cpp $(srcdir)/config/ia64/crtend.asm
30 crtbeginS.o: $(srcdir)/config/ia64/crtbegin.asm $(GCC_PASSES)
31 $(GCC_FOR_TARGET) -DSHARED -c -o crtbeginS.o -x assembler-with-cpp $(srcdir)/config/ia64/crtbegin.asm
32 crtendS.o: $(srcdir)/config/ia64/crtend.asm $(GCC_PASSES)
33 $(GCC_FOR_TARGET) -DSHARED -c -o crtendS.o -x assembler-with-cpp $(srcdir)/config/ia64/crtend.asm
34 crtfastmath.o: $(srcdir)/config/ia64/crtfastmath.c $(GCC_PASSES)
35 $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -c -o crtfastmath.o $(srcdir)/config/ia64/crtfastmath.c
36
37 EXTRA_HEADERS = $(srcdir)/config/ia64/ia64intrin.h
38 LIB2ADDEH = $(srcdir)/config/ia64/unwind-ia64.c $(srcdir)/unwind-sjlj.c