aligned_malloc -> aligned_alloc

This commit is contained in:
SG
2024-04-09 17:08:12 +03:00
parent 5bca6d2e84
commit 0d3a717762
5 changed files with 4 additions and 14 deletions

View File

@@ -461,7 +461,7 @@ static bool elf_load_section_data(ELFFile* elf, ELFSection* section, Elf32_Shdr*
return true;
}
section->data = aligned_malloc(section_header->sh_size, section_header->sh_addralign);
section->data = aligned_alloc(section_header->sh_size, section_header->sh_addralign);
section->size = section_header->sh_size;
if(section_header->sh_type == SHT_NOBITS) {