File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -667,9 +667,8 @@ fn update_symbols(
667667 }
668668 }
669669
670- let Some ( ( target_section_index, target_section) ) = obj
671- . sections
672- . get_elf_index ( rel_reloc. target_section as SectionIndex )
670+ let Some ( ( target_section_index, target_section) ) =
671+ obj. sections . get_elf_index ( rel_reloc. target_section as SectionIndex )
673672 else {
674673 log:: warn!(
675674 "Missing relocation target section {} in module {}; skipping" ,
@@ -761,10 +760,7 @@ fn create_relocations(
761760 anyhow ! ( "Failed to locate DOL section at {:#010X}" , rel_reloc. addend)
762761 } ) ?
763762 } else {
764- match target_obj
765- . sections
766- . get_elf_index ( rel_reloc. target_section as SectionIndex )
767- {
763+ match target_obj. sections . get_elf_index ( rel_reloc. target_section as SectionIndex ) {
768764 Some ( v) => v,
769765 None => {
770766 log:: warn!(
You can’t perform that action at this time.
0 commit comments