Remove -D flag from Buildroot disassembly to work around objdump crash on non-code regions that are not aligned

This commit is contained in:
Jordan Carlin 2025-06-02 02:15:58 -07:00
parent 089a214f53
commit 7127cc4423
No known key found for this signature in database

View file

@ -100,8 +100,10 @@ $(DISASSEMBLY_DIR)/%.objdump: $(IMAGE_DIR)/% | $(DISASSEMBLY_DIR)
$(WALLY)/bin/extractFunctionRadix.sh $@
# Disassemble binaries ending in .elf
# Add -D flag back to disassemble all sections (instead of just code sections)
# once objdump bug is fixed and the pinned version of the toolchain is updated.
$(DISASSEMBLY_DIR)/%.objdump: $(IMAGE_DIR)/%.elf | $(DISASSEMBLY_DIR)
riscv64-unknown-elf-objdump -SD $< >> $@
riscv64-unknown-elf-objdump -S $< >> $@
$(WALLY)/bin/extractFunctionRadix.sh $@
# Load wally buildroot configuration