From fe1d1a8b4c02144b6519f83dc701abe8803f6d09 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 11 Nov 2019 16:26:03 +0100 Subject: [PATCH] Relax lto-dump.o dependency. 2019-11-11 Martin Liska * Make-lang.in: Relax dependency of lto-dump.o to LTO_OBJS which will allow faster linking (mainly with LTO). From-SVN: r278054 --- gcc/lto/ChangeLog | 5 +++++ gcc/lto/Make-lang.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 91a8ec1c8c8..38fd66a2925 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,8 @@ +2019-11-11 Martin Liska + + * Make-lang.in: Relax dependency of lto-dump.o to + LTO_OBJS which will allow faster linking (mainly with LTO). + 2019-11-07 Jan Hubicka * lto.c (do_whole_program_analysis): Call lto_free_file_name_hash. diff --git a/gcc/lto/Make-lang.in b/gcc/lto/Make-lang.in index 00701aec800..faee8899502 100644 --- a/gcc/lto/Make-lang.in +++ b/gcc/lto/Make-lang.in @@ -92,7 +92,7 @@ $(LTO_DUMP_EXE): $(LTO_EXE) $(LTO_DUMP_OBJS) $(BACKEND) $(LIBDEPS) +$(LLINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \ $(LTO_DUMP_OBJS) $(BACKEND) $(BACKENDLIBS) $(LIBS) -lto/lto-dump.o: $(LTO_EXE) +lto/lto-dump.o: $(LTO_OBJS) lto1.fda: ../prev-gcc/lto1$(exeext) ../prev-gcc/$(PERF_DATA) $(CREATE_GCOV) -binary ../prev-gcc/lto1$(exeext) -gcov lto1.fda -profile ../prev-gcc/$(PERF_DATA) -gcov_version 1 -- 2.30.2