Commit b8579719 by Ian Lance Taylor

Set CROSS_LIBGCC1 to be libgcc1.null

From-SVN: r5298
parent 5ffe63ed
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
T_CFLAGS = -DDONT_HAVE_STDIO -DDONT_HAVE_SETJMP
# we do not have DF or DI types, so fake out the libgcc2 compilation
LIBGCC2_CFLAGS=-O -DDF=SF -DDI=SI $(GCC_CFLAGS)
......
# 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.
OTHER_FIXINCLUDES_DIRS= /LocalDeveloper/Headers
......@@ -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
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
# gmon build rule:
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=
LIBGCC1=libgcc1.null
CROSS_LIBGCC1=libgcc1.null
# Specify other dirs of system header files to be fixed.
OTHER_FIXINCLUDES_DIRS= /LocalDeveloper/Headers
......@@ -9,6 +9,7 @@ $(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh
LIB2FUNCS_EXTRA = $(MOVE_ASM)
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
# 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.
......
......@@ -9,6 +9,7 @@ $(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh
LIB2FUNCS_EXTRA = $(MOVE_ASM)
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
T_CPPFLAGS = -DUSE_GAS
# 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
LIB2FUNCS_EXTRA = $(MOVE_ASM)
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
......@@ -9,4 +9,5 @@ $(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh
LIB2FUNCS_EXTRA = $(MOVE_ASM)
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
T_CPPFLAGS = -DUSE_GAS
......@@ -9,6 +9,7 @@ $(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh
LIB2FUNCS_EXTRA = $(MOVE_ASM)
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
# 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.
......
......@@ -9,6 +9,7 @@ $(MOVE_ASM): $(srcdir)/config/m88k/m88k-move.sh
LIB2FUNCS_EXTRA = $(MOVE_ASM)
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
T_CPPFLAGS = -DUSE_GAS
# 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
LIB2FUNCS_EXTRA = $(MOVE_ASM)
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
# 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.
......
......@@ -11,6 +11,7 @@ EXTRA_PASSES = mips-tfile mips-tdump
# Suppress building libgcc1.a, since the MIPS compiler port is complete
# and does not need anything from libgcc1.a.
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
mips-tfile: mips-tfile.o version.o $(LIBDEPS)
$(CC) $(CFLAGS) $(LDFLAGS) -o mips-tfile mips-tfile.o version.o $(LIBS)
......
......@@ -5,3 +5,4 @@ SYSTEM_HEADER_DIR = /bsd43/usr/include
# Suppress building libgcc1.a, since the MIPS compiler port is complete
# and does not need anything from libgcc1.a.
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
......@@ -7,6 +7,7 @@ EXTRA_PASSES = mips-tfile mips-tdump
# Suppress building libgcc1.a, since the MIPS compiler port is complete
# and does not need anything from libgcc1.a.
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
mips-tfile: mips-tfile.o version.o $(LIBDEPS)
$(CC) $(CFLAGS) $(LDFLAGS) -o mips-tfile mips-tfile.o version.o $(LIBS)
......
# Suppress building libgcc1.a, since the MIPS compiler port is complete
# and does not need anything from libgcc1.a.
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
......@@ -8,5 +8,6 @@ LIMITS_H =
# Suppress building libgcc1.a, since the MIPS compiler port is complete
# and does not need anything from libgcc1.a.
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
halfpic.o: halfpic.c $(CONFIG_H) $(CONFIG2_H) $(RTL_H) $(TREE_H)
......@@ -11,6 +11,7 @@ EXTRA_PASSES = mips-tfile mips-tdump
# Suppress building libgcc1.a, since the MIPS compiler port is complete
# and does not need anything from libgcc1.a.
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
mips-tfile: mips-tfile.o version.o $(LIBDEPS)
$(CC) $(CFLAGS) $(LDFLAGS) -o mips-tfile mips-tfile.o version.o $(LIBS)
......
......@@ -5,3 +5,4 @@ SYSTEM_HEADER_DIR = /sysv/usr/include
# Suppress building libgcc1.a, since the MIPS compiler port is complete
# and does not need anything from libgcc1.a.
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
......@@ -11,6 +11,7 @@ EXTRA_PASSES = mips-tfile mips-tdump
# Suppress building libgcc1.a, since the MIPS compiler port is complete
# and does not need anything from libgcc1.a.
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
mips-tfile: mips-tfile.o version.o $(LIBDEPS)
$(CC) $(CFLAGS) $(LDFLAGS) -o mips-tfile mips-tfile.o version.o $(LIBS)
......
......@@ -5,3 +5,4 @@ SYSTEM_HEADER_DIR = /svr4/usr/include
# Suppress building libgcc1.a, since the MIPS compiler port is complete
# and does not need anything from libgcc1.a.
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
......@@ -8,6 +8,7 @@ CONFIG2_H = $(srcdir)/config/mips/mips.h
# Suppress building libgcc1.a, since the MIPS compiler port is complete
# and does not need anything from libgcc1.a.
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
mips-tfile: mips-tfile.o version.o $(LIBDEPS)
$(CC) $(CFLAGS) $(LDFLAGS) -o mips-tfile mips-tfile.o version.o $(LIBS)
......
LIBGCC1=libgcc1.null
CROSS_LIBGCC1=libgcc1.null
INSTALLED_H = float.h stdarg.h varargs.h $(USER_H) limits.h
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
T_CFLAGS = -DDONT_HAVE_STDIO -DDONT_HAVE_SETJMP -Dinhibit_libc
LIBGCC2_CFLAGS=-g -O5 $(GCC_CFLAGS)
......
......@@ -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
LIBGCC1 = libgcc1.null
CROSS_LIBGCC1 = libgcc1.null
# gmon build rule:
gmon.o: $(srcdir)/config/sparc/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H)
......
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