scripts/strip-kmod.sh: remove a few extra sections to slightly reduce kernel module...
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 1 Feb 2016 13:33:33 +0000 (13:33 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 1 Feb 2016 13:33:33 +0000 (13:33 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48608 3c298f89-4303-0410-b956-a3cf2f4a3e73

scripts/strip-kmod.sh

index e3f13be..313015b 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"