1# gmon build rule: 2$(T)gmon.o: $(srcdir)/config/sparc/gmon-sol2.c $(GCC_PASSES) \ 3 $(TCONFIG_H) tsystem.h coretypes.h $(TM_H) stmp-int-hdrs 4 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) \ 5 -c $(srcdir)/config/sparc/gmon-sol2.c -o $(T)gmon.o 6 7# Assemble startup files. 8$(T)crt1.o: $(srcdir)/config/sparc/sol2-c1.asm $(GCC_PASSES) 9 $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crt1.o -x assembler-with-cpp $(srcdir)/config/sparc/sol2-c1.asm 10$(T)crti.o: $(srcdir)/config/sparc/sol2-ci.asm $(GCC_PASSES) 11 $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/sparc/sol2-ci.asm 12$(T)crtn.o: $(srcdir)/config/sparc/sol2-cn.asm $(GCC_PASSES) 13 $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/sparc/sol2-cn.asm 14$(T)gcrt1.o: $(srcdir)/config/sparc/sol2-c1.asm $(GCC_PASSES) 15 $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -DGCRT1 -o $(T)gcrt1.o -x assembler-with-cpp $(srcdir)/config/sparc/sol2-c1.asm 16 17# We need to use -fPIC when we are using gcc to compile the routines in 18# crtstuff.c. This is only really needed when we are going to use gcc/g++ 19# to produce a shared library, but since we don't know ahead of time when 20# we will be doing that, we just always use -fPIC when compiling the 21# routines in crtstuff.c. 22 23CRTSTUFF_T_CFLAGS = -fPIC 24TARGET_LIBGCC2_CFLAGS = -fPIC 25