head	1.10;
access;
symbols
	gcc-2_8_1-990325:1.10
	gcc-2_8_1-990319:1.10
	gcc-2_8_1-990302:1.10
	gcc_2_8_1-990302:1.10
	gcc_2_8_1-990222:1.10
	gcc-2_8_1-990109:1.10
	gcc-2_8_1-981210:1.10
	gcc-2_8_1-981208:1.10
	gcc-2_8_1-980929:1.10
	gcc_2_8_1-980929:1.10
	gcc-2_8_1-980928:1.10
	gcc-2_8_1-980813:1.10
	gcc-2_8_1-980811:1.10
	gcc-2_8_1-980718:1.10
	gcc-2_8_1-980705:1.10
	gcc-2_8_1-980627:1.10
	gcc-2_8_1-980609:1.10
	gcc-2_8_1-980608:1.10
	gcc-2_8_1-980529:1.10
	gcc-2_8_1-980525:1.10
	gcc-2_8_1-980513:1.10
	gcc-2_8_1-980502:1.10
	gcc-2_8_1-980402:1.10
	gcc-2_8_1-980426:1.10
	gcc-2_8_1-980419:1.10
	gcc-2_8_1-980413:1.10
	gcc-2_8_1-980412:1.10
	gcc-2_8_1-980407:1.10
	gcc-2_8_1-980401:1.10
	gcc_2_8_1-980315:1.10
	gcc-2_8_1-RELEASE:1.10;
locks; strict;
comment	@# @;


1.10
date	97.09.08.18.57.49;	author wilson;	state Exp;
branches;
next	1.9;

1.9
date	97.07.07.04.02.08;	author meyering;	state Exp;
branches;
next	1.8;

1.8
date	96.09.04.20.07.24;	author coxs;	state Exp;
branches;
next	1.7;

1.7
date	96.01.16.18.51.39;	author dje;	state Exp;
branches;
next	1.6;

1.6
date	96.01.06.21.15.02;	author dje;	state Exp;
branches;
next	1.5;

1.5
date	95.03.13.23.11.08;	author merrill;	state Exp;
branches;
next	1.4;

1.4
date	94.11.19.04.09.58;	author merrill;	state Exp;
branches;
next	1.3;

1.3
date	93.12.12.12.49.55;	author kenner;	state Exp;
branches;
next	1.2;

1.2
date	93.09.09.20.05.26;	author ian;	state Exp;
branches;
next	1.1;

1.1
date	93.02.05.23.50.44;	author wilson;	state Exp;
branches;
next	;


desc
@@


1.10
log
@(TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
@
text
@# 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/i386/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H)
	$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
		-c $(srcdir)/config/i386/gmon-sol2.c -o gmon.o

# Assemble startup files.
# Apparently Sun believes that assembler files don't need comments, because no
# single ASCII character is valid (tried them all).  So we manually strip out
# the comments with sed.  This bug may only be in the Early Access releases.
gcrt1.o: $(srcdir)/config/i386/sol2-gc1.asm
	sed -e '/^!/d' <$(srcdir)/config/i386/sol2-gc1.asm >gcrt1.s
	$(AS) -o gcrt1.o gcrt1.s
crt1.o: $(srcdir)/config/i386/sol2-c1.asm $(GCC_PASSES)
	sed -e '/^!/d' <$(srcdir)/config/i386/sol2-c1.asm >crt1.s
	$(GCC_FOR_TARGET) -c -o crt1.o crt1.s
crti.o: $(srcdir)/config/i386/sol2-ci.asm $(GCC_PASSES)
	sed -e '/^!/d' <$(srcdir)/config/i386/sol2-ci.asm >crti.s
	$(GCC_FOR_TARGET) -c -o crti.o crti.s
crtn.o: $(srcdir)/config/i386/sol2-cn.asm $(GCC_PASSES)
	sed -e '/^!/d' <$(srcdir)/config/i386/sol2-cn.asm >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++
# to produce a shared library, but since we don't know ahead of time when
# we will be doing that, we just always use -fPIC when compiling the
# routines in crtstuff.c.

CRTSTUFF_T_CFLAGS = -fPIC
TARGET_LIBGCC2_CFLAGS = -fPIC
@


1.9
log
@(crt1.o, crt1.o, crtn.o): Also depend on $(GCC_PASSES).
@
text
@d36 1
@


1.8
log
@gprof support
@
text
@d19 1
a19 1
crt1.o: $(srcdir)/config/i386/sol2-c1.asm
d22 1
a22 1
crti.o: $(srcdir)/config/i386/sol2-ci.asm
d25 1
a25 1
crtn.o: $(srcdir)/config/i386/sol2-cn.asm
@


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


1.6
log
@(crt*.o): Replace $(AS) with $(GCC_FOR_TARGET).
@
text
@d18 1
a18 1
	$(GCC_FOR_TARGET) -o crt1.o crt1.s
d21 1
a21 1
	$(GCC_FOR_TARGET) -o crti.o crti.s
d24 1
a24 1
	$(GCC_FOR_TARGET) -o crtn.o crtn.s
@


1.5
log
@Use -fPIC instead of -fpic
@
text
@d18 1
a18 1
	$(AS) -o crt1.o crt1.s
d21 1
a21 1
	$(AS) -o crti.o crti.s
d24 1
a24 1
	$(AS) -o crtn.o crtn.s
@


1.4
log
@Shared library support.
@
text
@d26 1
a26 1
# We need to use -fpic when we are using gcc to compile the routines in
d29 1
a29 1
# we will be doing that, we just always use -fpic when compiling the
d32 1
a32 1
CRTSTUFF_T_CFLAGS = -fpic
@


1.3
log
@Delete EXTRA_PARTS.
@
text
@d25 8
@


1.2
log
@Set CROSS_LIBGCC1 to be libgcc1.null
@
text
@a0 5
# We need startup files for Solaris, since we don't get them with the system
# FIXME:  Should include "gmon.o" when it is ported.

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

@


1.1
log
@Initial revision
@
text
@d10 1
@
