mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-06-27 08:50:26 -04:00
Remove -D flag from Buildroot disassembly to work around objdump crash on non-code regions that are not aligned
This commit is contained in:
parent
089a214f53
commit
7127cc4423
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue