projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f5cb49
)
Re: Stop the linker's --dependency-file option from including temporary lto files.
author
Alan Modra
<amodra@gmail.com>
Wed, 5 Jul 2023 12:03:01 +0000
(21:33 +0930)
committer
Alan Modra
<amodra@gmail.com>
Thu, 6 Jul 2023 01:09:40 +0000
(10:39 +0930)
PR 30568
* ldfile.c (ldfile_try_open_bfd): Fix build failure when
!BFD_SUPPORTS_PLUGINS.
ld/ldfile.c
patch
|
blob
|
history
diff --git
a/ld/ldfile.c
b/ld/ldfile.c
index c8a6874978b3653143dc81b40d02028d6c27433d..9d9c036dfab55eabb777970a4b9dec337377bdb6 100644
(file)
--- 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. */