From c6960ede375a1b93bbfbd65148aeab1564e0032c Mon Sep 17 00:00:00 2001 From: David Harris Date: Fri, 1 Apr 2022 16:49:13 +0000 Subject: [PATCH] Changed Linux disassembly to -S to preserve source code lines --- linux/buildroot-scripts/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux/buildroot-scripts/Makefile b/linux/buildroot-scripts/Makefile index 5589fe51..02006f44 100644 --- a/linux/buildroot-scripts/Makefile +++ b/linux/buildroot-scripts/Makefile @@ -19,10 +19,10 @@ disassemble: # -cd ${DIS}/rootfs; cpio -id --nonmatching 'dev/console' < ../../rootfs.cpio ${DIS}/fw_jump.objdump: ${IMAGES}/fw_jump.elf - riscv64-unknown-elf-objdump -D ${IMAGES}/fw_jump.elf >> ${DIS}/fw_jump.objdump + riscv64-unknown-elf-objdump -S ${IMAGES}/fw_jump.elf >> ${DIS}/fw_jump.objdump ${DIS}/vmlinux.objdump: ${IMAGES}/vmlinux - riscv64-unknown-elf-objdump -D ${IMAGES}/vmlinux >> ${DIS}/vmlinux.objdump + riscv64-unknown-elf-objdump -S ${IMAGES}/vmlinux >> ${DIS}/vmlinux.objdump ${DIS}/vmlinux.objdump.addr: ${DIS}/vmlinux.objdump -cd ${DIS}; extractFunctionRadix.sh vmlinux.objdump