From ced3e6bc0e4accb2dbef26e419ad850ca783b490 Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Sun, 10 Dec 2023 19:05:27 +0800 Subject: [PATCH] elf2efi: remove outdated comment mentioning linker script Follow-up for 142f0c61a37091e233b80f02375cff1114dab24a --- tools/elf2efi.py | 1 - 1 file changed, 1 deletion(-) 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 -- 2.47.3