]>
Commit | Line | Data |
---|---|---|
45b86625 RO |
1 | LIB1ASMSRC = ia64/lib1funcs.S |
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.S. | |
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 | ||
f9989b51 RO |
14 | # ??? Hack to get -P option used when compiling lib1funcs.S, 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 | ||
fa958513 DJ |
21 | CUSTOM_CRTSTUFF = yes |
22 | ||
23 | # Assemble startup files. | |
5f73c6cc RO |
24 | # FIXME: -I$(gcc_objdir) is necessary to find auto-host.h. Really? |
25 | crtbegin.o: $(srcdir)/config/ia64/crtbegin.S | |
26 | $(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp $< | |
27 | crtend.o: $(srcdir)/config/ia64/crtend.S | |
28 | $(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp $< | |
29 | crtbeginS.o: $(srcdir)/config/ia64/crtbegin.S | |
30 | $(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp \ -o $@ -DSHARED $< | |
31 | crtendS.o: $(srcdir)/config/ia64/crtend.S | |
32 | $(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp \ | |
33 | -o $@ -DSHARED $< | |
b040f2be RO |
34 | |
35 | SHLIB_MAPFILES += $(srcdir)/config/ia64/libgcc-ia64.ver |