EXTRA_PROGRAMS = ld
-ld : collect2
- rm -f ld
- ln collect2 ld
-
-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
$(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
-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
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
-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
$(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