aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-05-11 10:15:56 +0200
committerMichał Górny <mgorny@gentoo.org>2024-05-11 10:15:56 +0200
commit0e52b0dc372cc205a38df60c3e8ec7ae99de8de5 (patch)
tree7883865525ace2ca62f70dfb390b18d3851c0c80
parenttest_lzma: Skip tests requiring extra-filters (diff)
downloadcpython-gentoo-3.13.0b1_p1.tar.gz
cpython-gentoo-3.13.0b1_p1.tar.bz2
cpython-gentoo-3.13.0b1_p1.zip
Fix JIT build error due to SHT_NOTE sectionsgentoo-3.13.0b1_p1
Bug: https://github.com/python/cpython/issues/118836
-rw-r--r--Tools/jit/_targets.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/jit/_targets.py b/Tools/jit/_targets.py
index 023ef498a21..b020f49cf4a 100644
--- a/Tools/jit/_targets.py
+++ b/Tools/jit/_targets.py
@@ -349,6 +349,7 @@ class _ELF(
assert section_type in {
"SHT_GROUP",
"SHT_LLVM_ADDRSIG",
+ "SHT_NOTE",
"SHT_NULL",
"SHT_STRTAB",
"SHT_SYMTAB",