]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/config/ia64/t-ia64
Move libgcc2 to toplevel libgcc
[thirdparty/gcc.git] / libgcc / config / ia64 / t-ia64
CommitLineData
45b86625
RO
1LIB1ASMSRC = 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.
8LIB1ASMFUNCS = __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
21CUSTOM_CRTSTUFF = yes
22
23# Assemble startup files.
5f73c6cc
RO
24# FIXME: -I$(gcc_objdir) is necessary to find auto-host.h. Really?
25crtbegin.o: $(srcdir)/config/ia64/crtbegin.S
26 $(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp $<
27crtend.o: $(srcdir)/config/ia64/crtend.S
28 $(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp $<
29crtbeginS.o: $(srcdir)/config/ia64/crtbegin.S
30 $(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp \ -o $@ -DSHARED $<
31crtendS.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
35SHLIB_MAPFILES += $(srcdir)/config/ia64/libgcc-ia64.ver