scripts/strip-kmod.sh: remove a few extra sections to slightly reduce kernel module...
authorFelix Fietkau <nbd@openwrt.org>
Mon, 1 Feb 2016 13:33:33 +0000 (13:33 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 1 Feb 2016 13:33:33 +0000 (13:33 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48608

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"