mirror of
https://github.com/serge1/ELFIO.git
synced 2024-12-26 18:15:40 +00:00
Experimental change of section table alignment to 16
This commit is contained in:
parent
47af3a4ff9
commit
e07864463c
@ -832,8 +832,8 @@ class elfio
|
||||
bool layout_section_table()
|
||||
{
|
||||
// Simply place the section table at the end for now
|
||||
Elf64_Off alignmentError = current_file_pos % 4;
|
||||
current_file_pos += ( 4 - alignmentError ) % 4;
|
||||
Elf64_Off alignmentError = current_file_pos % 16;
|
||||
current_file_pos += 16 - alignmentError;
|
||||
header->set_sections_offset( current_file_pos );
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user