aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sparc/t-sol2
blob: b71f738aee531daa3c1e13333467667fa89791c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# we need startup files for solaris, since we don't get them with the system

EXTRA_PARTS=crt1.o crti.o crtn.o gmon.o crtbegin.o crtend.o

# we need to supply our own assembly versions of libgcc1.c files,
# since the user may not have native 'cc' available

LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null

# gmon build rule:
gmon.o:	$(srcdir)/config/sparc/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H)
	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
		-c $(srcdir)/config/sparc/gmon-sol2.c -o gmon.o

# Assemble startup files.
crt1.o: $(srcdir)/config/sparc/sol2-c1.asm
	$(AS) -o crt1.o $(srcdir)/config/sparc/sol2-c1.asm
crti.o: $(srcdir)/config/sparc/sol2-ci.asm
	$(AS) -o crti.o $(srcdir)/config/sparc/sol2-ci.asm
crtn.o: $(srcdir)/config/sparc/sol2-cn.asm
	$(AS) -o crtn.o $(srcdir)/config/sparc/sol2-cn.asm