Add a list of relocations to custom sections.

This commit is contained in:
Nick Lewycky
2020-05-14 12:22:32 -07:00
parent 73e97d95d7
commit 9a0c2a76a3
3 changed files with 9 additions and 3 deletions

View File

@ -439,6 +439,7 @@ impl FuncTranslator {
CustomSection {
protection: CustomSectionProtection::Read,
bytes: SectionBody::default(),
relocations: vec![],
},
);
for (section_idx, local_section_idx) in required_custom_sections {