init objdump subcommand #31827

Merged
andrewrk merged 2 commits from objdump into master 2026-04-12 10:38:22 +02:00
Image
Owner

This is contributor friendly. It's not aiming for flag compatibility with gnu tools or llvm, it can be whatever zig linker developers need it to be.

Implemented as a "jitcmd" so it can be patched without recompiling zig.

This is contributor friendly. It's not aiming for flag compatibility with gnu tools or llvm, it can be whatever zig linker developers need it to be. Implemented as a "jitcmd" so it can be patched without recompiling zig.
does nothing so far
Image objdump: recognize some file types
All checks were successful
ci / x86_64-netbsd-release (pull_request) Successful in 36m5s
ci / x86_64-netbsd-debug (pull_request) Successful in 47m27s
ci / x86_64-freebsd-debug (pull_request) Successful in 56m29s
ci / x86_64-freebsd-release (pull_request) Successful in 36m11s
ci / aarch64-macos-release (pull_request) Successful in 1h24m25s
ci / aarch64-macos-debug (pull_request) Successful in 1h51m34s
ci / aarch64-linux-release (pull_request) Successful in 1h38m24s
ci / aarch64-linux-debug (pull_request) Successful in 2h30m46s
ci / x86_64-linux-debug (pull_request) Successful in 1h14m37s
ci / x86_64-openbsd-release (pull_request) Successful in 1h18m42s
ci / x86_64-openbsd-debug (pull_request) Successful in 1h29m34s
ci / x86_64-windows-debug (pull_request) Successful in 1h32m42s
ci / x86_64-windows-release (pull_request) Successful in 1h16m39s
ci / s390x-linux-release (pull_request) Successful in 1h37m13s
ci / x86_64-linux-release (pull_request) Successful in 2h34m45s
ci / s390x-linux-debug (pull_request) Successful in 2h46m42s
ci / x86_64-linux-debug-llvm (pull_request) Successful in 3h10m35s
ci / powerpc64le-linux-release (pull_request) Successful in 1h38m53s
ci / powerpc64le-linux-debug (pull_request) Successful in 5h0m7s
ci / loongarch64-linux-release (pull_request) Successful in 2h2m11s
ci / loongarch64-linux-debug (pull_request) Successful in 3h9m19s
ci / riscv64-linux-debug (pull_request) Has been skipped
ci / riscv64-linux-release (pull_request) Has been skipped
ci / aarch64-freebsd-release (pull_request) Successful in 2h45m58s
ci / aarch64-freebsd-debug (pull_request) Successful in 3h47m0s
ci / aarch64-netbsd-debug (pull_request) Successful in 3h58m24s
ci / aarch64-netbsd-release (pull_request) Successful in 3h1m54s
f7dabba561
andrewrk scheduled this pull request to auto merge when all checks succeed 2026-04-12 05:45:31 +02:00
Image andrewrk merged commit edfc4727e2 into master 2026-04-12 10:38:22 +02:00
Image andrewrk deleted branch objdump 2026-04-12 10:38:23 +02:00
Sign in to join this conversation.
No reviewers
No labels
abi/f32
abi/ilp32
abi/n32
abi/sf
abi/x32
accepted
arch/1750a
arch/21k
arch/6502
arch/a29k
arch/aarch64
arch/alpha
arch/amdgcn
arch/arc
arch/arc32
arch/arc64
arch/arm
arch/avr
arch/avr32
arch/bfin
arch/bpf
arch/clipper
arch/colossus
arch/cr16
arch/cris
arch/csky
arch/dlx
arch/dsp16xx
arch/elxsi
arch/epiphany
arch/fr30
arch/frv
arch/h8300
arch/h8500
arch/hexagon
arch/hppa
arch/hppa64
arch/i370
arch/i860
arch/i960
arch/ia64
arch/ip2k
arch/kalimba
arch/kvx
arch/lanai
arch/lm32
arch/loongarch32
arch/loongarch64
arch/m32r
arch/m68k
arch/m88k
arch/maxq
arch/mcore
arch/metag
arch/microblaze
arch/mips
arch/mips64
arch/mmix
arch/mn10200
arch/mn10300
arch/moxie
arch/mrisc32
arch/msp430
arch/nds32
arch/nios2
arch/ns32k
arch/nvptx
arch/or1k
arch/pdp10
arch/pdp11
arch/pj
arch/powerpc
arch/powerpc64
arch/propeller
arch/riscv32
arch/riscv64
arch/rl78
arch/rx
arch/s390
arch/s390x
arch/sh
arch/sh64
arch/sparc
arch/sparc64
arch/spirv
arch/spu
arch/st200
arch/starcore
arch/tilegx
arch/tilepro
arch/tricore
arch/ts
arch/ubicom8
arch/v850
arch/vax
arch/vc4
arch/ve
arch/wasm
arch/we32k
arch/x86
arch/x86_64
arch/xcore
arch/xgate
arch/xstormy16
arch/xtensa
autodoc
backend/c
backend/llvm
backend/self-hosted
binutils
breaking
build system
debug info
docs
error message
frontend
fuzzing
incremental
lib/c
lib/compiler-rt
lib/cxx
lib/std
lib/tsan
lib/ubsan-rt
lib/unwind
linking
miscompilation
os/aix
os/android
os/bridgeos
os/contiki
os/dragonfly
os/driverkit
os/emscripten
os/freebsd
os/fuchsia
os/haiku
os/hermit
os/hurd
os/illumos
os/ios
os/kfreebsd
os/linux
os/maccatalyst
os/macos
os/managarm
os/netbsd
os/ohos
os/openbsd
os/plan9
os/redox
os/rtems
os/serenity
os/solaris
os/tvos
os/uefi
os/visionos
os/wali
os/wasi
os/watchos
os/windows
os/zos
proposal
release notes
testing
tier system
zig cc
zig fmt
bounty
bug
contributor-friendly
downstream
enhancement
infra
optimization
question
regression
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ziglang/zig!31827
No description provided.