mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
elf2efi: remove outdated comment mentioning linker script
Follow-up for 142f0c61a3
This commit is contained in:
parent
fca212b022
commit
ced3e6bc0e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user