mirror of
https://github.com/python/cpython
synced 2026-09-26 16:21:04 +03:00
[3.13] GH-118836: Fix JIT build error when SHT_NOTE section is present (GH-119020)
(cherry picked from commit e04cd964eb4eee1b0ae5b2c34727abce6c0fb7f0) Co-authored-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
c7628b0ea0
commit
29a2f9cc28
2 changed files with 3 additions and 0 deletions
|
|
@ -0,0 +1,2 @@
|
|||
Fix an ``AssertionError`` when building with ``--enable-experimental-jit``
|
||||
and the compiler emits a ``SHT_NOTE`` section.
|
||||
|
|
@ -349,6 +349,7 @@ class _ELF(
|
|||
assert section_type in {
|
||||
"SHT_GROUP",
|
||||
"SHT_LLVM_ADDRSIG",
|
||||
"SHT_NOTE",
|
||||
"SHT_NULL",
|
||||
"SHT_STRTAB",
|
||||
"SHT_SYMTAB",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue