t-sol2 revision 50397
150397Sobrien# we need to supply our own assembly versions of libgcc1.c files, 250397Sobrien# since the user may not have native 'cc' available 350397Sobrien 450397SobrienLIBGCC1 = 550397SobrienCROSS_LIBGCC1 = 650397SobrienLIBGCC1_TEST = 750397Sobrien 850397Sobrien# gmon build rule: 950397Sobriengmon.o: $(srcdir)/config/sparc/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H) stmp-int-hdrs 1050397Sobrien $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \ 1150397Sobrien -c $(srcdir)/config/sparc/gmon-sol2.c -o gmon.o 1250397Sobrien 1350397Sobrien# Assemble startup files. 1450397Sobriencrt1.o: $(srcdir)/config/sparc/sol2-c1.asm $(GCC_PASSES) 1550397Sobrien $(GCC_FOR_TARGET) -c -o crt1.o -x assembler $(srcdir)/config/sparc/sol2-c1.asm 1650397Sobriencrti.o: $(srcdir)/config/sparc/sol2-ci.asm $(GCC_PASSES) 1750397Sobrien $(GCC_FOR_TARGET) -c -o crti.o -x assembler $(srcdir)/config/sparc/sol2-ci.asm 1850397Sobriencrtn.o: $(srcdir)/config/sparc/sol2-cn.asm $(GCC_PASSES) 1950397Sobrien $(GCC_FOR_TARGET) -c -o crtn.o -x assembler $(srcdir)/config/sparc/sol2-cn.asm 2050397Sobriengcrt1.o: $(srcdir)/config/sparc/sol2-g1.asm $(GCC_PASSES) 2150397Sobrien $(GCC_FOR_TARGET) -c -o gcrt1.o -x assembler $(srcdir)/config/sparc/sol2-g1.asm 2250397Sobrien 2350397Sobrien# We need to use -fPIC when we are using gcc to compile the routines in 2450397Sobrien# crtstuff.c. This is only really needed when we are going to use gcc/g++ 2550397Sobrien# to produce a shared library, but since we don't know ahead of time when 2650397Sobrien# we will be doing that, we just always use -fPIC when compiling the 2750397Sobrien# routines in crtstuff.c. 2850397Sobrien 2950397SobrienCRTSTUFF_T_CFLAGS = -fPIC 3050397SobrienTARGET_LIBGCC2_CFLAGS = -fPIC 31