diff --git a/gcc/config/m68k/t-next b/gcc/config/m68k/t-next index d30c9999a87..2f075121fa5 100644 --- a/gcc/config/m68k/t-next +++ b/gcc/config/m68k/t-next @@ -5,7 +5,3 @@ LIBGCC1= EXTRA_PROGRAMS = ld -ld : collect2 - rm -f ld - ln collect2 ld - diff --git a/gcc/config/mips/t-mips b/gcc/config/mips/t-mips index 47456254125..40391283d92 100644 --- a/gcc/config/mips/t-mips +++ b/gcc/config/mips/t-mips @@ -1,4 +1,5 @@ -EXTRA_PASSES = mips-tfile mips-tdump ld +EXTRA_PASSES = mips-tfile mips-tdump +EXTRA_PROGRAMS = ld CCLIBFLAGS = -O -G 0 LIBGCC2_CFLAGS = -O2 $(GCC_CFLAGS) -g1 -G 0 CONFIG2_H = $(srcdir)/config/mips.h @@ -45,9 +46,3 @@ mips-tdump: mips-tdump.o version.o $(LIBDEPS) $(CC) $(CFLAGS) $(LDFLAGS) -o mips-tdump mips-tdump.o version.o $(LIBS) mips-tdump.o : mips-tdump.c $(CONFIG_H) $(CONFIG2_H) $(RTL_H) - -# Build collect - -ld: collect2 - rm -f ld - ln collect2 ld diff --git a/gcc/config/mips/t-osfrose b/gcc/config/mips/t-osfrose index b768294820e..f2b52f9f13d 100644 --- a/gcc/config/mips/t-osfrose +++ b/gcc/config/mips/t-osfrose @@ -1,4 +1,5 @@ -EXTRA_PASSES = ld +# Use collect2 to link. +EXTRA_PROGRAMS = ld EXTRA_OBJS = halfpic.o LIMITS_H = CONFIG2_H = $(srcdir)/config/mips.h $(srcdir)/config/decrose.h $(srcdir)/halfpic.h @@ -37,9 +38,3 @@ recog.o: $(CONFIG2_H) reload.o: $(CONFIG2_H) halfpic.o: halfpic.c $(CONFIG_H) $(CONFIG2_H) $(RTL_H) $(TREE_H) - -# Build collect - -ld: collect2 - rm -f ld - ln collect2 ld diff --git a/gcc/config/mips/t-ultrix b/gcc/config/mips/t-ultrix index 47456254125..3a5055181fe 100644 --- a/gcc/config/mips/t-ultrix +++ b/gcc/config/mips/t-ultrix @@ -1,4 +1,6 @@ -EXTRA_PASSES = mips-tfile mips-tdump ld +EXTRA_PASSES = mips-tfile mips-tdump +# Use collect2 to link. +EXTRA_PROGRAMS = ld CCLIBFLAGS = -O -G 0 LIBGCC2_CFLAGS = -O2 $(GCC_CFLAGS) -g1 -G 0 CONFIG2_H = $(srcdir)/config/mips.h @@ -45,9 +47,3 @@ mips-tdump: mips-tdump.o version.o $(LIBDEPS) $(CC) $(CFLAGS) $(LDFLAGS) -o mips-tdump mips-tdump.o version.o $(LIBS) mips-tdump.o : mips-tdump.c $(CONFIG_H) $(CONFIG2_H) $(RTL_H) - -# Build collect - -ld: collect2 - rm -f ld - ln collect2 ld