From: Martin Liska Date: Mon, 11 Nov 2019 15:26:03 +0000 (+0100) Subject: Relax lto-dump.o dependency. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fe1d1a8b4c02144b6519f83dc701abe8803f6d09;p=gcc.git 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 --- 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