changed order in which the sections are emitted

The fact that segments can contain header information as well as
sections requires that sections within segments are emitted first.
This commit is contained in:
Mario Werner 2014-11-14 10:37:50 +01:00
parent 0ece76b5eb
commit 55c2841e47
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -159,8 +159,8 @@ class elfio
set_current_file_position();
is_still_good = is_still_good && save_header( f );
is_still_good = is_still_good && save_sections_without_segments( f );
is_still_good = is_still_good && save_segments_and_their_sections( f );
is_still_good = is_still_good && save_sections_without_segments( f );
f.close();