bjorn3 opened this issue 5 years ago · 1 comments
faerie/src/mach.rs
Line 593 in 5d4bba4
Cranelift puts jump tables right next to the code, so the __text section will contain non instruction data when using jump tables.
__text
Quoting @philipc
From a brief look, lld always outputs S_ATTR_PURE_INSTRUCTIONS for __TEXT,__text, regardless of what the input object files specified.