Skip to content

Commit 29a2f9c

Browse files
[3.13] GH-118836: Fix JIT build error when SHT_NOTE section is present (GH-119020)
(cherry picked from commit e04cd96) Co-authored-by: Michał Górny <mgorny@gentoo.org>
1 parent c7628b0 commit 29a2f9c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fix an ``AssertionError`` when building with ``--enable-experimental-jit``
2+
and the compiler emits a ``SHT_NOTE`` section.

Tools/jit/_targets.py

+1
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ def _handle_section(
349349
assert section_type in {
350350
"SHT_GROUP",
351351
"SHT_LLVM_ADDRSIG",
352+
"SHT_NOTE",
352353
"SHT_NULL",
353354
"SHT_STRTAB",
354355
"SHT_SYMTAB",

0 commit comments

Comments
 (0)