Merge tag 'gfs2-v6.7-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / scripts / decodecode
index 8fe71c2..6364218 100755 (executable)
@@ -67,6 +67,7 @@ if [ -z "$ARCH" ]; then
     case `uname -m` in
        aarch64*) ARCH=arm64 ;;
        arm*) ARCH=arm ;;
+       loongarch*) ARCH=loongarch ;;
     esac
 fi
 
@@ -98,6 +99,10 @@ disas() {
                ${CROSS_COMPILE}strip $t.o
        fi
 
+       if [ "$ARCH" = "loongarch" ]; then
+               ${CROSS_COMPILE}strip $t.o
+       fi
+
        if [ $pc_sub -ne 0 ]; then
                if [ $PC ]; then
                        adj_vma=$(( $PC - $pc_sub ))