| 413 | } |
| 414 | |
| 415 | bool is_reference_section_relocatable(uint16_t section_index) const { |
| 416 | if (all_reference_sections_relocatable) { |
| 417 | return true; |
| 418 | } |
| 419 | if (section_index == SectionAbsolute) { |
| 420 | return false; |
| 421 | } |
| 422 | else if (section_index == SectionImport || section_index == SectionEvent) { |
| 423 | return true; |
| 424 | } |
| 425 | return reference_sections[section_index].relocatable; |
| 426 | } |
| 427 | |
| 428 | bool add_reference_symbol(const std::string& symbol_name, uint16_t section_index, uint32_t vram, bool is_function) { |
| 429 | uint32_t section_vram; |
no outgoing calls
no test coverage detected