Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 29a2f9c

Browse filesBrowse files
[3.13] GH-118836: Fix JIT build error when SHT_NOTE section is present (GH-119020)
(cherry picked from commit e04cd96) Co-authored-by: Michał Górny <mgorny@gentoo.org>
1 parent c7628b0 commit 29a2f9c
Copy full SHA for 29a2f9c

File tree

2 files changed

+3
-0
lines changed
Filter options

2 files changed

+3
-0
lines changed
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fix an ``AssertionError`` when building with ``--enable-experimental-jit``
2+
and the compiler emits a ``SHT_NOTE`` section.

‎Tools/jit/_targets.py

Copy file name to clipboardExpand all lines: Tools/jit/_targets.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ def _handle_section(
349349
assert section_type in {
350350
"SHT_GROUP",
351351
"SHT_LLVM_ADDRSIG",
352+
"SHT_NOTE",
352353
"SHT_NULL",
353354
"SHT_STRTAB",
354355
"SHT_SYMTAB",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.