gcc/libgcc/config/ia64/t-ia64
2011-11-03 09:57:54 +00:00

37 lines
1.6 KiB
Plaintext

LIB1ASMSRC = ia64/lib1funcs.S
# We use different names for the DImode div/mod files so that they won't
# conflict with libgcc2.c files. We used to use __ia64 as a prefix, now
# we use __ as the prefix. Note that L_divdi3 in libgcc2.c actually defines
# a TImode divide function, so there is no actual overlap here between
# libgcc2.c and lib1funcs.S.
LIB1ASMFUNCS = __divxf3 __divdf3 __divsf3 \
__divdi3 __moddi3 __udivdi3 __umoddi3 \
__divsi3 __modsi3 __udivsi3 __umodsi3 __save_stack_nonlocal \
__nonlocal_goto __restore_stack_nonlocal __trampoline \
_fixtfdi _fixunstfdi _floatditf
# ??? Hack to get -P option used when compiling lib1funcs.S, because Intel
# assembler does not accept # line number as a comment.
# ??? This breaks C++ pragma interface/implementation, which is used in the
# C++ part of libgcc2, hence it had to be disabled. Must find some other way
# to support the Intel assembler.
#LIBGCC2_DEBUG_CFLAGS = -g1 -P
CUSTOM_CRTSTUFF = yes
# Assemble startup files.
# FIXME: -I$(gcc_objdir) is necessary to find auto-host.h. Really?
crtbegin.o: $(srcdir)/config/ia64/crtbegin.S
$(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp $<
crtend.o: $(srcdir)/config/ia64/crtend.S
$(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp $<
crtbeginS.o: $(srcdir)/config/ia64/crtbegin.S
$(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp \
-o $@ -DSHARED $<
crtendS.o: $(srcdir)/config/ia64/crtend.S
$(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp \
-o $@ -DSHARED $<
SHLIB_MAPFILES += $(srcdir)/config/ia64/libgcc-ia64.ver