* [binutils-gdb/binutils-2_41-branch] Re: Stop the linker's --dependency-file option from including temporary lto files.
@ 2023-07-12 1:15 Alan Modra
0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2023-07-12 1:15 UTC (permalink / raw)
To: bfd-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=74e20e445b358c2f6884ab29cd832561a178e646
commit 74e20e445b358c2f6884ab29cd832561a178e646
Author: Alan Modra <amodra@gmail.com>
Date: Wed Jul 5 21:33:01 2023 +0930
Re: Stop the linker's --dependency-file option from including temporary lto files.
PR 30568
* ldfile.c (ldfile_try_open_bfd): Fix build failure when
!BFD_SUPPORTS_PLUGINS.
(cherry picked from commit 5f60df9974516867c02562b56c3a98cf4714a915)
Diff:
---
ld/ldfile.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ld/ldfile.c b/ld/ldfile.c
index 14ba1f1ecc0..df7c9cbd65e 100644
--- a/ld/ldfile.c
+++ b/ld/ldfile.c
@@ -353,7 +353,9 @@ ldfile_try_open_bfd (const char *attempt,
}
/* PR 30568: Do not track lto generated temporary object files. */
+#if BFD_SUPPORTS_PLUGINS
if (!entry->flags.lto_output)
+#endif
track_dependency_files (attempt);
/* Linker needs to decompress sections. */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-12 1:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-12 1:15 [binutils-gdb/binutils-2_41-branch] Re: Stop the linker's --dependency-file option from including temporary lto files Alan Modra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).