diff options
author | Michele Calgaro <[email protected]> | 2020-07-21 09:39:50 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-07-21 17:33:03 +0900 |
commit | 6e1c33777844a924836e6a2bb72b738e8b743f51 (patch) | |
tree | f0a2c966ae1e69727b130e3cf126c77869e44ef1 | |
parent | 35f271f1f87ed0d3f8fae12c42496881f6a241d5 (diff) | |
download | libr-6e1c33777844a924836e6a2bb72b738e8b743f51.tar.gz libr-6e1c33777844a924836e6a2bb72b738e8b743f51.zip |
Fixed generation of corrupted executables when editing sections. This resolves issue #4.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit ed09509e0b6950bf4f865a21715e73d99bce7106)
-rw-r--r-- | src/libr-bfd.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libr-bfd.c b/src/libr-bfd.c index 61e59e4..53e8aee 100644 --- a/src/libr-bfd.c +++ b/src/libr-bfd.c @@ -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)) |