mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 20:28:02 +00:00
ignore __eh_frame section for the time being in macho surgery
This commit is contained in:
parent
32b9274dad
commit
88962f9e98
1 changed files with 1 additions and 0 deletions
|
@ -1207,6 +1207,7 @@ fn surgery_macho_help(
|
|||
let rodata_sections: Vec<Section> = app_obj
|
||||
.sections()
|
||||
.filter(|sec| sec.kind() == SectionKind::ReadOnlyData)
|
||||
.filter(|sec| sec.name().unwrap_or("") != "__eh_frame") // ignore __eh_frame for now
|
||||
.collect();
|
||||
|
||||
// bss section is like rodata section, but it has zero file size and non-zero virtual size.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue