Commit 7e245bad by Doug Evans

t-sol2 (crt[1in].o): Add missing -c.

	* i386/t-sol2 (crt[1in].o): Add missing -c.
	* sparc/t-sol2 (crt[1in].o,gcrt1.o): Likewise.
	Source files are assembler.

From-SVN: r11031
parent ed846da3
......@@ -15,13 +15,13 @@ gmon.o: $(srcdir)/config/i386/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H)
# the comments with sed. This bug may only be in the Early Access releases.
crt1.o: $(srcdir)/config/i386/sol2-c1.asm
sed -e '/^!/d' <$(srcdir)/config/i386/sol2-c1.asm >crt1.s
$(GCC_FOR_TARGET) -o crt1.o crt1.s
$(GCC_FOR_TARGET) -c -o crt1.o crt1.s
crti.o: $(srcdir)/config/i386/sol2-ci.asm
sed -e '/^!/d' <$(srcdir)/config/i386/sol2-ci.asm >crti.s
$(GCC_FOR_TARGET) -o crti.o crti.s
$(GCC_FOR_TARGET) -c -o crti.o crti.s
crtn.o: $(srcdir)/config/i386/sol2-cn.asm
sed -e '/^!/d' <$(srcdir)/config/i386/sol2-cn.asm >crtn.s
$(GCC_FOR_TARGET) -o crtn.o crtn.s
$(GCC_FOR_TARGET) -c -o crtn.o crtn.s
# We need to use -fPIC when we are using gcc to compile the routines in
# crtstuff.c. This is only really needed when we are going to use gcc/g++
......
......@@ -11,13 +11,13 @@ gmon.o: $(srcdir)/config/sparc/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H)
# Assemble startup files.
crt1.o: $(srcdir)/config/sparc/sol2-c1.asm
$(GCC_FOR_TARGET) -o crt1.o $(srcdir)/config/sparc/sol2-c1.asm
$(GCC_FOR_TARGET) -c -o crt1.o -x assembler $(srcdir)/config/sparc/sol2-c1.asm
crti.o: $(srcdir)/config/sparc/sol2-ci.asm
$(GCC_FOR_TARGET) -o crti.o $(srcdir)/config/sparc/sol2-ci.asm
$(GCC_FOR_TARGET) -c -o crti.o -x assembler $(srcdir)/config/sparc/sol2-ci.asm
crtn.o: $(srcdir)/config/sparc/sol2-cn.asm
$(GCC_FOR_TARGET) -o crtn.o $(srcdir)/config/sparc/sol2-cn.asm
$(GCC_FOR_TARGET) -c -o crtn.o -x assembler $(srcdir)/config/sparc/sol2-cn.asm
gcrt1.o: $(srcdir)/config/sparc/sol2-g1.asm
$(GCC_FOR_TARGET) -o gcrt1.o $(srcdir)/config/sparc/sol2-g1.asm
$(GCC_FOR_TARGET) -c -o gcrt1.o -x assembler $(srcdir)/config/sparc/sol2-g1.asm
# We need to use -fPIC when we are using gcc to compile the routines in
# crtstuff.c. This is only really needed when we are going to use gcc/g++
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment