X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=scripts%2Fdecodecode;h=5ea07109933043888b802c9252205c7da3b7705c;hb=14f972efb76da176dc262277f50cda9c28026165;hp=438120da1361002833a2014b1ca3fb02cc0aa539;hpb=bec04432cb9036dedf89140c102b5ac03e4b3626;p=mirror_ubuntu-bionic-kernel.git diff --git a/scripts/decodecode b/scripts/decodecode index 438120da1361..5ea071099330 100755 --- a/scripts/decodecode +++ b/scripts/decodecode @@ -59,6 +59,14 @@ disas() { ${CROSS_COMPILE}strip $1.o fi + if [ "$ARCH" = "arm64" ]; then + if [ $width -eq 4 ]; then + type=inst + fi + + ${CROSS_COMPILE}strip $1.o + fi + ${CROSS_COMPILE}objdump $OBJDUMPFLAGS -S $1.o | \ grep -v "/tmp\|Disassembly\|\.text\|^$" > $1.dis 2>&1 }