| 376 | } |
| 377 | |
| 378 | bool find_regular_reference_symbol(const std::string& symbol_name, SymbolReference& ref_out) const { |
| 379 | SymbolReference ref_found; |
| 380 | if (!find_reference_symbol(symbol_name, ref_found)) { |
| 381 | return false; |
| 382 | } |
| 383 | |
| 384 | // Ignore reference symbols in special sections. |
| 385 | if (!is_regular_reference_section(ref_found.section_index)) { |
| 386 | return false; |
| 387 | } |
| 388 | |
| 389 | ref_out = ref_found; |
| 390 | return true; |
| 391 | } |
| 392 | |
| 393 | const ReferenceSymbol& get_reference_symbol(uint16_t section_index, size_t symbol_index) const { |
| 394 | if (section_index == SectionImport) { |