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