]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Re: Another fix for EFI generation with LTO enabled
authorAlan Modra <amodra@gmail.com>
Tue, 31 Jan 2023 11:18:58 +0000 (21:48 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 31 Jan 2023 11:21:09 +0000 (21:51 +1030)
commit081609f5ff3e7d469b9ea7621d924504c4e3c3b2
tree8737b76b0de37aa19bb401cd009cc5261de0c8a6
parent0fcf99b8ab5ccbde30fa7d36742e670cd4df48ef
Re: Another fix for EFI generation with LTO enabled

Revert 1c66b8a03989 and instead fix the broken list pointer.

PR 29998
* pe-dll.c (build_filler_bfd): Revert last change.
* ldlang.c (lang_process): When rescanning archives for lto,
fix file_chain.tail pointer if the insert point happens to be
at the end of the list.
ld/ldlang.c
ld/pe-dll.c