]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
elf2efi: remove outdated comment mentioning linker script
authorMike Yuan <me@yhndnzj.com>
Sun, 10 Dec 2023 11:05:27 +0000 (19:05 +0800)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sun, 10 Dec 2023 12:50:14 +0000 (12:50 +0000)
Follow-up for 142f0c61a37091e233b80f02375cff1114dab24a

tools/elf2efi.py

index 54f64fa53c1112b2bd156ef8402c467e47acbd94..5411a023411b14662ba7a300ede6584a8f4afa23 100755 (executable)
@@ -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