From 86625a148abb04a1e6fee39ddab48256b65fa1f4 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 1 Feb 2016 13:33:33 +0000 Subject: [PATCH] scripts/strip-kmod.sh: remove a few extra sections to slightly reduce kernel module size Signed-off-by: Felix Fietkau SVN-Revision: 48608 --- scripts/strip-kmod.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/strip-kmod.sh b/scripts/strip-kmod.sh index e3f13bee47..313015b909 100755 --- a/scripts/strip-kmod.sh +++ b/scripts/strip-kmod.sh @@ -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" -- 2.25.1