scripts/strip-kmod.sh: remove a few extra sections to slightly reduce kernel module...
[openwrt/svn-archive/archive.git] / scripts / strip-kmod.sh
index e3f13bee4766d6611bb526a6b867ee0a3d48f805..313015b909af6957d8b24f36b489c5b1c7e11974 100755 (executable)
@@ -28,6 +28,8 @@ ${CROSS}objcopy \
        -R .mdebug.abi32 \
        -R .gnu.attributes \
        -R .reginfo \
+       -R .MIPS.abiflags \
+       -R .note.GNU-stack \
        $ARGS \
        "$MODULE" "$MODULE.tmp"