1 # Name of assembly file containing libgcc1 functions.
2 # This entry must be present, but it can be empty if the target does
3 # not need any assembler functions to support its code generation.
4 CROSS_LIBGCC1 = libgcc1-asm.a
5 LIBGCC1 = libgcc1-asm.a
6 LIB1ASMSRC = ia64/lib1funcs.asm
8 # ??? We change the names of the DImode div/mod files so that they won't
9 # accidentally be overridden by libgcc2.c files. We used to use __ia64 as
10 # a prefix, now we use __ as the prefix.
11 LIB1ASMFUNCS = __divdf3 __divsf3 \
12 __divdi3 __moddi3 __udivdi3 __umoddi3 \
13 __divsi3 __modsi3 __udivsi3 __umodsi3 __save_stack_nonlocal \
14 __nonlocal_goto __restore_stack_nonlocal
16 # ??? Hack to get -P option used when compiling lib1funcs.asm, because Intel
17 # assembler does not accept # line number as a comment.
18 # ??? This breaks C++ pragma interface/implementation, which is used in the
19 # C++ part of libgcc2, hence it had to be disabled. Must find some other way
20 # to support the Intel assembler.
21 #LIBGCC2_DEBUG_CFLAGS = -g1 -P
23 # For svr4 we build crtbegin.o and crtend.o which serve to add begin and
24 # end labels to the .ctors and .dtors section when we link using gcc.
26 EXTRA_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o
28 # Effectively disable the crtbegin/end rules using crtstuff.c
31 # Assemble startup files.
32 crtbegin.o: $(srcdir)/config/ia64/crtbegin.asm $(GCC_PASSES)
33 $(GCC_FOR_TARGET) -c -o crtbegin.o -x assembler-with-cpp $(srcdir)/config/ia64/crtbegin.asm
34 crtend.o: $(srcdir)/config/ia64/crtend.asm $(GCC_PASSES)
35 $(GCC_FOR_TARGET) -c -o crtend.o -x assembler-with-cpp $(srcdir)/config/ia64/crtend.asm
36 crtbeginS.o: $(srcdir)/config/ia64/crtbegin.asm $(GCC_PASSES)
37 $(GCC_FOR_TARGET) -DSHARED -c -o crtbeginS.o -x assembler-with-cpp $(srcdir)/config/ia64/crtbegin.asm
38 crtendS.o: $(srcdir)/config/ia64/crtend.asm $(GCC_PASSES)
39 $(GCC_FOR_TARGET) -DSHARED -c -o crtendS.o -x assembler-with-cpp $(srcdir)/config/ia64/crtend.asm
41 EXTRA_HEADERS = $(srcdir)/config/ia64/ia64intrin.h
42 LIB2ADDEH = $(srcdir)/config/ia64/frame-ia64.c