diff --git a/elf_examples/write_exe_i386_32_match b/elf_examples/write_exe_i386_32_match index 557eda2..4d1a9da 100644 Binary files a/elf_examples/write_exe_i386_32_match and b/elf_examples/write_exe_i386_32_match differ diff --git a/elfio/elfio.hpp b/elfio/elfio.hpp index eac2654..7186e6b 100644 --- a/elfio/elfio.hpp +++ b/elfio/elfio.hpp @@ -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();