mirror of
https://github.com/python/cpython.git
synced 2024-11-27 11:55:13 +08:00
GH-118836: Fix JIT build error when SHT_NOTE section is present (GH-119000)
This commit is contained in:
parent
fc75792594
commit
e04cd964eb
@ -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…
Reference in New Issue
Block a user