summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2023-12-10 12:05:27 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2023-12-10 13:50:14 +0100
commitced3e6bc0e4accb2dbef26e419ad850ca783b490 (patch)
tree2916062f7073b86c5965ed44588141f8eeb40b81 /tools
parentresolve: fix wrong error cause assignment to log_debug_errno() (diff)
downloadsystemd-ced3e6bc0e4accb2dbef26e419ad850ca783b490.tar.xz
systemd-ced3e6bc0e4accb2dbef26e419ad850ca783b490.zip
elf2efi: remove outdated comment mentioning linker script
Follow-up for 142f0c61a37091e233b80f02375cff1114dab24a
Diffstat (limited to 'tools')
-rwxr-xr-xtools/elf2efi.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/elf2efi.py b/tools/elf2efi.py
index 54f64fa53c..5411a02341 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