mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
elf2efi: remove outdated comment mentioning linker script
Follow-up for 142f0c61a3
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user