|
|
1.1 root 1: # We need startup files for Solaris, since we don't get them with the system
2: # FIXME: Should include "gmon.o" when it is ported.
3:
4: EXTRA_PARTS=crt1.o crti.o crtn.o crtbegin.o crtend.o
5:
6: # we need to supply our own assembly versions of libgcc1.c files,
7: # since the user may not have native 'cc' available
8:
9: LIBGCC1 = libgcc1.null
10:
11: # gmon build rule:
12: gmon.o: $(srcdir)/config/i386/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H)
13: $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
14: -c $(srcdir)/config/i386/gmon-sol2.c -o gmon.o
15:
16: # Assemble startup files.
17: # Apparently Sun believes that assembler files don't need comments, because no
18: # single ASCII character is valid (tried them all). So we manually strip out
19: # the comments with sed. This bug may only be in the Early Access releases.
20: crt1.o: $(srcdir)/config/i386/sol2-c1.asm
21: sed -e '/^!/d' <$(srcdir)/config/i386/sol2-c1.asm >crt1.s
22: $(AS) -o crt1.o crt1.s
23: crti.o: $(srcdir)/config/i386/sol2-ci.asm
24: sed -e '/^!/d' <$(srcdir)/config/i386/sol2-ci.asm >crti.s
25: $(AS) -o crti.o crti.s
26: crtn.o: $(srcdir)/config/i386/sol2-cn.asm
27: sed -e '/^!/d' <$(srcdir)/config/i386/sol2-cn.asm >crtn.s
28: $(AS) -o crtn.o crtn.s
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.