| author | |
| committer | |
| log | 939e4d81e11e801be4eb8fcaddbd27e6b8d3491c |
| tree | a093692d7575139d20ab22e0a9fbd3cafc0c6767 |
| parent | da1f457e3b602aa5ad617058ae7c4848ea1c825b |
Fix `--only-section=` handling1 files changed, 1 insertions(+), 1 deletions(-)
src/objcopy.zig+1-1| ... | ... | @@ -66,7 +66,7 @@ pub fn cmdObjCopy( |
| 66 | 66 | } else if (mem.eql(u8, arg, "--listen=-")) { |
| 67 | 67 | listen = true; |
| 68 | 68 | } else if (mem.startsWith(u8, arg, "--only-section=")) { |
| 69 | only_section = arg["--output-target=".len..]; | |
| 69 | only_section = arg["--only-section=".len..]; | |
| 70 | 70 | } else if (mem.eql(u8, arg, "--pad-to")) { |
| 71 | 71 | i += 1; |
| 72 | 72 | if (i >= args.len) fatal("expected another argument after '{s}'", .{arg}); |