OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [config/] [i386/] [t-sol2] - Blame information for rev 38

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
# gmon build rule:
2
$(T)gmon.o:     $(srcdir)/config/i386/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H)
3
        $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) \
4
                -c $(srcdir)/config/i386/gmon-sol2.c -o $(T)gmon.o
5
 
6
# Assemble startup files.
7
# Apparently Sun believes that assembler files don't need comments, because no
8
# single ASCII character is valid (tried them all).  So we manually strip out
9
# the comments with sed.  This bug may only be in the Early Access releases.
10
$(T)gcrt1.o: $(srcdir)/config/i386/sol2-gc1.asm $(GCC_PASSES)
11
        sed -e '/^!/d' <$(srcdir)/config/i386/sol2-gc1.asm >gcrt1.s
12
        $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)gcrt1.o gcrt1.s
13
$(T)crt1.o: $(srcdir)/config/i386/sol2-c1.asm $(GCC_PASSES)
14
        sed -e '/^!/d' <$(srcdir)/config/i386/sol2-c1.asm >crt1.s
15
        $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crt1.o crt1.s
16
$(T)crti.o: $(srcdir)/config/i386/sol2-ci.asm $(GCC_PASSES)
17
        sed -e '/^!/d' <$(srcdir)/config/i386/sol2-ci.asm >crti.s
18
        $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crti.o crti.s
19
$(T)crtn.o: $(srcdir)/config/i386/sol2-cn.asm $(GCC_PASSES)
20
        sed -e '/^!/d' <$(srcdir)/config/i386/sol2-cn.asm >crtn.s
21
        $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crtn.o crtn.s
22
 
23
# We need to use -fPIC when we are using gcc to compile the routines in
24
# crtstuff.c.  This is only really needed when we are going to use gcc/g++
25
# to produce a shared library, but since we don't know ahead of time when
26
# we will be doing that, we just always use -fPIC when compiling the
27
# routines in crtstuff.c.
28
#
29
# We must also enable optimization to avoid having any code appear after
30
# the call & alignment statement, but before we switch back to the
31
# .text section.
32
 
33
CRTSTUFF_T_CFLAGS = -fPIC -O2
34
TARGET_LIBGCC2_CFLAGS = -fPIC

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.