Commit b8579719 by Ian Lance Taylor

Set CROSS_LIBGCC1 to be libgcc1.null

From-SVN: r5298
parent 5ffe63ed
LIBGCC1 = libgcc1.null LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
T_CFLAGS = -DDONT_HAVE_STDIO -DDONT_HAVE_SETJMP T_CFLAGS = -DDONT_HAVE_STDIO -DDONT_HAVE_SETJMP
# we do not have DF or DI types, so fake out the libgcc2 compilation # we do not have DF or DI types, so fake out the libgcc2 compilation
LIBGCC2_CFLAGS=-O -DDF=SF -DDI=SI $(GCC_CFLAGS) LIBGCC2_CFLAGS=-O -DDF=SF -DDI=SI $(GCC_CFLAGS)
......
# libgcc1.c is not needed, since the standard library has these functions. # libgcc1.c is not needed, since the standard library has these functions.
LIBGCC1= LIBGCC1=libgcc1.null
CROSS_LIBGCC1=libgcc1.null
# Specify other dirs of system header files to be fixed. # Specify other dirs of system header files to be fixed.
OTHER_FIXINCLUDES_DIRS= /LocalDeveloper/Headers OTHER_FIXINCLUDES_DIRS= /LocalDeveloper/Headers
...@@ -7,6 +7,7 @@ EXTRA_PARTS=crt1.o crti.o crtn.o crtbegin.o crtend.o ...@@ -7,6 +7,7 @@ EXTRA_PARTS=crt1.o crti.o crtn.o crtbegin.o crtend.o
# since the user may not have native 'cc' available # since the user may not have native 'cc' available
LIBGCC1 = libgcc1.null LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
# gmon build rule: # gmon build rule:
gmon.o: $(srcdir)/config/i386/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H) gmon.o: $(srcdir)/config/i386/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H)
......
# libgcc1.c is not needed, since the standard library has these functions. # libgcc1.c is not needed, since the standard library has these functions.
LIBGCC1= LIBGCC1=libgcc1.null
CROSS_LIBGCC1=libgcc1.null
# Specify other dirs of system header files to be fixed. # Specify other dirs of system header files to be fixed.
OTHER_FIXINCLUDES_DIRS= /LocalDeveloper/Headers OTHER_FIXINCLUDES_DIRS= /LocalDeveloper/Headers
...@@ -9,6 +9,7 @@ $(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh ...@@ -9,6 +9,7 @@ $(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh
LIB2FUNCS_EXTRA = $(MOVE_ASM) LIB2FUNCS_EXTRA = $(MOVE_ASM)
LIBGCC1 = libgcc1.null LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
# For DG/UX we build crtbegin.o and crtend.o which serve to add begin and # For DG/UX we build crtbegin.o and crtend.o which serve to add begin and
# end labels to the .ctors and .dtors section when we link using gcc. # end labels to the .ctors and .dtors section when we link using gcc.
......
...@@ -9,6 +9,7 @@ $(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh ...@@ -9,6 +9,7 @@ $(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh
LIB2FUNCS_EXTRA = $(MOVE_ASM) LIB2FUNCS_EXTRA = $(MOVE_ASM)
LIBGCC1 = libgcc1.null LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
T_CPPFLAGS = -DUSE_GAS T_CPPFLAGS = -DUSE_GAS
# For DG/UX we build crtbegin.o and crtend.o which serve to add begin and # For DG/UX we build crtbegin.o and crtend.o which serve to add begin and
......
...@@ -9,3 +9,4 @@ $(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh ...@@ -9,3 +9,4 @@ $(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh
LIB2FUNCS_EXTRA = $(MOVE_ASM) LIB2FUNCS_EXTRA = $(MOVE_ASM)
LIBGCC1 = libgcc1.null LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
...@@ -9,4 +9,5 @@ $(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh ...@@ -9,4 +9,5 @@ $(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh
LIB2FUNCS_EXTRA = $(MOVE_ASM) LIB2FUNCS_EXTRA = $(MOVE_ASM)
LIBGCC1 = libgcc1.null LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
T_CPPFLAGS = -DUSE_GAS T_CPPFLAGS = -DUSE_GAS
...@@ -9,6 +9,7 @@ $(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh ...@@ -9,6 +9,7 @@ $(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh
LIB2FUNCS_EXTRA = $(MOVE_ASM) LIB2FUNCS_EXTRA = $(MOVE_ASM)
LIBGCC1 = libgcc1.null LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
# For svr4 we build crtbegin.o and crtend.o which serve to add begin and # For svr4 we build crtbegin.o and crtend.o which serve to add begin and
# end labels to the .ctors and .dtors section when we link using gcc. # end labels to the .ctors and .dtors section when we link using gcc.
......
...@@ -9,6 +9,7 @@ $(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh ...@@ -9,6 +9,7 @@ $(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh
LIB2FUNCS_EXTRA = $(MOVE_ASM) LIB2FUNCS_EXTRA = $(MOVE_ASM)
LIBGCC1 = libgcc1.null LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
T_CPPFLAGS = -DUSE_GAS T_CPPFLAGS = -DUSE_GAS
# For svr4 we build crtbegin.o and crtend.o which serve to add begin and # For svr4 we build crtbegin.o and crtend.o which serve to add begin and
......
...@@ -11,6 +11,7 @@ $(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh ...@@ -11,6 +11,7 @@ $(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh
LIB2FUNCS_EXTRA = $(MOVE_ASM) LIB2FUNCS_EXTRA = $(MOVE_ASM)
LIBGCC1 = libgcc1.null LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
# For svr4 we build crtbegin.o and crtend.o which serve to add begin and # For svr4 we build crtbegin.o and crtend.o which serve to add begin and
# end labels to the .ctors and .dtors section when we link using gcc. # end labels to the .ctors and .dtors section when we link using gcc.
......
...@@ -11,6 +11,7 @@ EXTRA_PASSES = mips-tfile mips-tdump ...@@ -11,6 +11,7 @@ EXTRA_PASSES = mips-tfile mips-tdump
# Suppress building libgcc1.a, since the MIPS compiler port is complete # Suppress building libgcc1.a, since the MIPS compiler port is complete
# and does not need anything from libgcc1.a. # and does not need anything from libgcc1.a.
LIBGCC1 = libgcc1.null LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
mips-tfile: mips-tfile.o version.o $(LIBDEPS) mips-tfile: mips-tfile.o version.o $(LIBDEPS)
$(CC) $(CFLAGS) $(LDFLAGS) -o mips-tfile mips-tfile.o version.o $(LIBS) $(CC) $(CFLAGS) $(LDFLAGS) -o mips-tfile mips-tfile.o version.o $(LIBS)
......
...@@ -5,3 +5,4 @@ SYSTEM_HEADER_DIR = /bsd43/usr/include ...@@ -5,3 +5,4 @@ SYSTEM_HEADER_DIR = /bsd43/usr/include
# Suppress building libgcc1.a, since the MIPS compiler port is complete # Suppress building libgcc1.a, since the MIPS compiler port is complete
# and does not need anything from libgcc1.a. # and does not need anything from libgcc1.a.
LIBGCC1 = libgcc1.null LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
...@@ -7,6 +7,7 @@ EXTRA_PASSES = mips-tfile mips-tdump ...@@ -7,6 +7,7 @@ EXTRA_PASSES = mips-tfile mips-tdump
# Suppress building libgcc1.a, since the MIPS compiler port is complete # Suppress building libgcc1.a, since the MIPS compiler port is complete
# and does not need anything from libgcc1.a. # and does not need anything from libgcc1.a.
LIBGCC1 = libgcc1.null LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
mips-tfile: mips-tfile.o version.o $(LIBDEPS) mips-tfile: mips-tfile.o version.o $(LIBDEPS)
$(CC) $(CFLAGS) $(LDFLAGS) -o mips-tfile mips-tfile.o version.o $(LIBS) $(CC) $(CFLAGS) $(LDFLAGS) -o mips-tfile mips-tfile.o version.o $(LIBS)
......
# Suppress building libgcc1.a, since the MIPS compiler port is complete # Suppress building libgcc1.a, since the MIPS compiler port is complete
# and does not need anything from libgcc1.a. # and does not need anything from libgcc1.a.
LIBGCC1 = libgcc1.null LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
...@@ -8,5 +8,6 @@ LIMITS_H = ...@@ -8,5 +8,6 @@ LIMITS_H =
# Suppress building libgcc1.a, since the MIPS compiler port is complete # Suppress building libgcc1.a, since the MIPS compiler port is complete
# and does not need anything from libgcc1.a. # and does not need anything from libgcc1.a.
LIBGCC1 = libgcc1.null LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
halfpic.o: halfpic.c $(CONFIG_H) $(CONFIG2_H) $(RTL_H) $(TREE_H) halfpic.o: halfpic.c $(CONFIG_H) $(CONFIG2_H) $(RTL_H) $(TREE_H)
...@@ -11,6 +11,7 @@ EXTRA_PASSES = mips-tfile mips-tdump ...@@ -11,6 +11,7 @@ EXTRA_PASSES = mips-tfile mips-tdump
# Suppress building libgcc1.a, since the MIPS compiler port is complete # Suppress building libgcc1.a, since the MIPS compiler port is complete
# and does not need anything from libgcc1.a. # and does not need anything from libgcc1.a.
LIBGCC1 = libgcc1.null LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
mips-tfile: mips-tfile.o version.o $(LIBDEPS) mips-tfile: mips-tfile.o version.o $(LIBDEPS)
$(CC) $(CFLAGS) $(LDFLAGS) -o mips-tfile mips-tfile.o version.o $(LIBS) $(CC) $(CFLAGS) $(LDFLAGS) -o mips-tfile mips-tfile.o version.o $(LIBS)
......
...@@ -5,3 +5,4 @@ SYSTEM_HEADER_DIR = /sysv/usr/include ...@@ -5,3 +5,4 @@ SYSTEM_HEADER_DIR = /sysv/usr/include
# Suppress building libgcc1.a, since the MIPS compiler port is complete # Suppress building libgcc1.a, since the MIPS compiler port is complete
# and does not need anything from libgcc1.a. # and does not need anything from libgcc1.a.
LIBGCC1 = libgcc1.null LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
...@@ -11,6 +11,7 @@ EXTRA_PASSES = mips-tfile mips-tdump ...@@ -11,6 +11,7 @@ EXTRA_PASSES = mips-tfile mips-tdump
# Suppress building libgcc1.a, since the MIPS compiler port is complete # Suppress building libgcc1.a, since the MIPS compiler port is complete
# and does not need anything from libgcc1.a. # and does not need anything from libgcc1.a.
LIBGCC1 = libgcc1.null LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
mips-tfile: mips-tfile.o version.o $(LIBDEPS) mips-tfile: mips-tfile.o version.o $(LIBDEPS)
$(CC) $(CFLAGS) $(LDFLAGS) -o mips-tfile mips-tfile.o version.o $(LIBS) $(CC) $(CFLAGS) $(LDFLAGS) -o mips-tfile mips-tfile.o version.o $(LIBS)
......
...@@ -5,3 +5,4 @@ SYSTEM_HEADER_DIR = /svr4/usr/include ...@@ -5,3 +5,4 @@ SYSTEM_HEADER_DIR = /svr4/usr/include
# Suppress building libgcc1.a, since the MIPS compiler port is complete # Suppress building libgcc1.a, since the MIPS compiler port is complete
# and does not need anything from libgcc1.a. # and does not need anything from libgcc1.a.
LIBGCC1 = libgcc1.null LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
...@@ -8,6 +8,7 @@ CONFIG2_H = $(srcdir)/config/mips/mips.h ...@@ -8,6 +8,7 @@ CONFIG2_H = $(srcdir)/config/mips/mips.h
# Suppress building libgcc1.a, since the MIPS compiler port is complete # Suppress building libgcc1.a, since the MIPS compiler port is complete
# and does not need anything from libgcc1.a. # and does not need anything from libgcc1.a.
LIBGCC1 = libgcc1.null LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
mips-tfile: mips-tfile.o version.o $(LIBDEPS) mips-tfile: mips-tfile.o version.o $(LIBDEPS)
$(CC) $(CFLAGS) $(LDFLAGS) -o mips-tfile mips-tfile.o version.o $(LIBS) $(CC) $(CFLAGS) $(LDFLAGS) -o mips-tfile mips-tfile.o version.o $(LIBS)
......
LIBGCC1=libgcc1.null LIBGCC1=libgcc1.null
CROSS_LIBGCC1=libgcc1.null
INSTALLED_H = float.h stdarg.h varargs.h $(USER_H) limits.h INSTALLED_H = float.h stdarg.h varargs.h $(USER_H) limits.h
LIBGCC1 = libgcc1.null LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
T_CFLAGS = -DDONT_HAVE_STDIO -DDONT_HAVE_SETJMP -Dinhibit_libc T_CFLAGS = -DDONT_HAVE_STDIO -DDONT_HAVE_SETJMP -Dinhibit_libc
LIBGCC2_CFLAGS=-g -O5 $(GCC_CFLAGS) LIBGCC2_CFLAGS=-g -O5 $(GCC_CFLAGS)
......
...@@ -6,6 +6,7 @@ EXTRA_PARTS=crt1.o crti.o crtn.o gmon.o crtbegin.o crtend.o ...@@ -6,6 +6,7 @@ EXTRA_PARTS=crt1.o crti.o crtn.o gmon.o crtbegin.o crtend.o
# since the user may not have native 'cc' available # since the user may not have native 'cc' available
LIBGCC1 = libgcc1.null LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
# gmon build rule: # gmon build rule:
gmon.o: $(srcdir)/config/sparc/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H) gmon.o: $(srcdir)/config/sparc/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H)
......
LIBGCC1=libgcc1.null LIBGCC1=libgcc1.null
CROSS_LIBGCC1=libgcc1.null
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