From 0e52b0dc372cc205a38df60c3e8ec7ae99de8de5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 11 May 2024 10:15:56 +0200 Subject: [PATCH] Fix JIT build error due to SHT_NOTE sections Bug: https://github.com/python/cpython/issues/118836 --- Tools/jit/_targets.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/jit/_targets.py b/Tools/jit/_targets.py index 023ef498a21d7c..b020f49cf4a2c1 100644 --- a/Tools/jit/_targets.py +++ b/Tools/jit/_targets.py @@ -349,6 +349,7 @@ def _handle_section( assert section_type in { "SHT_GROUP", "SHT_LLVM_ADDRSIG", + "SHT_NOTE", "SHT_NULL", "SHT_STRTAB", "SHT_SYMTAB",