| author | |
| committer | |
| log | 68ea1121fc73d35311b29d15b731a3e424867265 |
| tree | 8d3694dadbcc899c417f8e5820fc12b426659ca9 |
| parent | eeec34ccb6189a588b1227a57e7c7b98af849b8d |
1 files changed, 2 insertions(+), 4 deletions(-)
src/objcopy.zig+2-4| ... | ... | @@ -284,10 +284,8 @@ fn emitElf( |
| 284 | 284 | } |
| 285 | 285 | |
| 286 | 286 | var hex_writer = HexWriter{ .out_file = out_file }; |
| 287 | for (binary_elf_output.sections.items) |section| { | |
| 288 | if (section.segment) |segment| { | |
| 289 | try hex_writer.writeSegment(segment, in_file); | |
| 290 | } | |
| 287 | for (binary_elf_output.segments.items) |segment| { | |
| 288 | try hex_writer.writeSegment(segment, in_file); | |
| 291 | 289 | } |
| 292 | 290 | if (options.pad_to) |_| { |
| 293 | 291 | // Padding to a size in hex files isn't applicable |