summaryrefslogtreecommitdiff
path: root/libgcc/config/ia64/t-ia64
blob: 80445d8a2a87ea993ccb3979f6d266e930c28305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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

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