Fixed generation of corrupted executables when editing sections. This resolves issue #4.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/5/head
Michele Calgaro 4 years ago
parent d2aac00a4a
commit ed09509e0b
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -352,11 +352,6 @@ int build_output(libr_file *file_handle)
return false;
}
free(buffer);
if(!bfd_copy_private_section_data(ihandle, iscn, ohandle, oscn))
{
printf("failed to copy private section data: %s\n", bfd_errmsg(bfd_get_error()));
return false;
}
}
}
if(!bfd_copy_private_bfd_data(ihandle, ohandle))

Loading…
Cancel
Save