diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-02-01 13:33:33 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-02-01 13:33:33 +0000 |
commit | f2c6b15f126c7bc6e96eabadb02ca2edeebc6dda (patch) | |
tree | dae3a0d297e82ef8617acb95a0a294405614c3e4 | |
parent | 44730f21c0074f501424916a06adfa4b974ec4cf (diff) | |
download | master-187ad058-f2c6b15f126c7bc6e96eabadb02ca2edeebc6dda.tar.gz master-187ad058-f2c6b15f126c7bc6e96eabadb02ca2edeebc6dda.tar.bz2 master-187ad058-f2c6b15f126c7bc6e96eabadb02ca2edeebc6dda.zip |
scripts/strip-kmod.sh: remove a few extra sections to slightly reduce kernel module size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48608 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | scripts/strip-kmod.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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" |