]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
elf2efi: ignore .sframe
authorSam James <sam@gentoo.org>
Wed, 16 Jul 2025 10:05:11 +0000 (11:05 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 4 Aug 2025 14:38:21 +0000 (15:38 +0100)
SFrames are a new format for stack unwinding information. Ignore it if
preset as is done for .eh_frame.

(cherry picked from commit e65455feade65c798fd1742220768eba7f81755b)

tools/elf2efi.py

index cb1a284a601020373dd74a8d66ab99543d8ebf3f..399adce04d9e88810ae63d4e04fd77c5eea3dc1e 100755 (executable)
@@ -214,6 +214,7 @@ IGNORE_SECTIONS = [
     ".eh_frame_hdr",
     ".ARM.exidx",
     ".relro_padding",
+    ".sframe",
 ]
 
 IGNORE_SECTION_TYPES = [