From: Mike Yuan Date: Sun, 10 Dec 2023 11:05:27 +0000 (+0800) Subject: elf2efi: remove outdated comment mentioning linker script X-Git-Tag: v256-rc1~1533 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ced3e6bc0e4accb2dbef26e419ad850ca783b490;p=thirdparty%2Fsystemd.git elf2efi: remove outdated comment mentioning linker script Follow-up for 142f0c61a37091e233b80f02375cff1114dab24a --- diff --git a/tools/elf2efi.py b/tools/elf2efi.py index 54f64fa53c1..5411a023411 100755 --- a/tools/elf2efi.py +++ b/tools/elf2efi.py @@ -552,7 +552,6 @@ def write_pe( offset = opt.SizeOfHeaders for pe_s in sorted(sections, key=lambda s: s.VirtualAddress): if pe_s.VirtualAddress < opt.SizeOfHeaders: - # Linker script should make sure this does not happen. raise RuntimeError(f"Section {pe_s.Name} overlapping PE headers.") pe_s.PointerToRawData = offset