Skip to content

Commit

Permalink
[3.13] GH-118836: Fix JIT build error when SHT_NOTE section is present (
Browse files Browse the repository at this point in the history
GH-119020)

(cherry picked from commit e04cd96)

Co-authored-by: Michał Górny <mgorny@gentoo.org>
  • Loading branch information
miss-islington and mgorny committed May 13, 2024
1 parent c7628b0 commit 29a2f9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix an ``AssertionError`` when building with ``--enable-experimental-jit``
and the compiler emits a ``SHT_NOTE`` section.
1 change: 1 addition & 0 deletions Tools/jit/_targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ def _handle_section(
assert section_type in {
"SHT_GROUP",
"SHT_LLVM_ADDRSIG",
"SHT_NOTE",
"SHT_NULL",
"SHT_STRTAB",
"SHT_SYMTAB",
Expand Down

0 comments on commit 29a2f9c

Please sign in to comment.