| ... | ... | @@ -95,13 +95,14 @@ const normal_usage = |
| 95 | 95 | \\ reduce Minimize a bug report |
| 96 | 96 | \\ translate-c Convert C code to Zig code |
| 97 | 97 | \\ |
| 98 | | \\ ar Use Zig as a drop-in archiver |
| 98 | \\ ar Combine object files into static archive |
| 99 | 99 | \\ cc Use Zig as a drop-in C compiler |
| 100 | 100 | \\ c++ Use Zig as a drop-in C++ compiler |
| 101 | 101 | \\ dlltool Use Zig as a drop-in dlltool.exe |
| 102 | 102 | \\ lib Use Zig as a drop-in lib.exe |
| 103 | \\ objcopy Manipulate executables and relocatables |
| 104 | \\ objdump Print information about executables and relocatables |
| 103 | 105 | \\ ranlib Use Zig as a drop-in ranlib |
| 104 | | \\ objcopy Use Zig as a drop-in objcopy |
| 105 | 106 | \\ rc Use Zig as a drop-in rc.exe |
| 106 | 107 | \\ |
| 107 | 108 | \\ env Print lib path, std path, cache directory, and version |
| ... | ... | @@ -342,6 +343,11 @@ fn mainArgs( |
| 342 | 343 | .cmd_name = "objcopy", |
| 343 | 344 | .root_src_path = "objcopy.zig", |
| 344 | 345 | }); |
| 346 | } else if (mem.eql(u8, cmd, "objdump")) { |
| 347 | return jitCmd(gpa, arena, io, cmd_args, environ_map, .{ |
| 348 | .cmd_name = "objdump", |
| 349 | .root_src_path = "objdump.zig", |
| 350 | }); |
| 345 | 351 | } else if (mem.eql(u8, cmd, "fetch")) { |
| 346 | 352 | return cmdFetch(gpa, arena, io, cmd_args, environ_map); |
| 347 | 353 | } else if (mem.eql(u8, cmd, "libc")) { |