Just reformatting

This commit is contained in:
Serge Lamikhov-Center 2024-04-28 19:36:59 +03:00
parent e2a3d0ada4
commit d33fadb34a
7 changed files with 27 additions and 27 deletions

View File

@ -96,22 +96,22 @@ template <class S> class relocation_section_accessor_template
if ( elf_file.get_class() == ELFCLASS32 ) {
if ( SHT_REL == relocation_section->get_type() ) {
return generic_get_entry_rel<Elf32_Rel>( index, offset, symbol, type,
addend );
return generic_get_entry_rel<Elf32_Rel>( index, offset, symbol,
type, addend );
}
else if ( SHT_RELA == relocation_section->get_type() ) {
return generic_get_entry_rela<Elf32_Rela>( index, offset, symbol, type,
addend );
return generic_get_entry_rela<Elf32_Rela>(
index, offset, symbol, type, addend );
}
}
else {
if ( SHT_REL == relocation_section->get_type() ) {
return generic_get_entry_rel<Elf64_Rel>( index, offset, symbol, type,
addend );
return generic_get_entry_rel<Elf64_Rel>( index, offset, symbol,
type, addend );
}
else if ( SHT_RELA == relocation_section->get_type() ) {
return generic_get_entry_rela<Elf64_Rela>( index, offset, symbol, type,
addend );
return generic_get_entry_rela<Elf64_Rela>(
index, offset, symbol, type, addend );
}
}
// Unknown relocation section type.