strip .gnu.attributes and .reginfo from kernel modules
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 26 Mar 2011 15:22:14 +0000 (15:22 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 26 Mar 2011 15:22:14 +0000 (15:22 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26304 3c298f89-4303-0410-b956-a3cf2f4a3e73

rules.mk

index ca76ef4..cddfdf5 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -211,7 +211,7 @@ else
   RSTRIP:= \
     NM="$(TARGET_CROSS)nm" \
     STRIP="$(STRIP)" \
-    STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment --remove-section=.pdr --remove-section=.mdebug.abi32 --remove-section=.note.gnu.build-id" \
+    STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded -R .comment -R .pdr -R .mdebug.abi32 -R .note.gnu.build-id -R .gnu.attributes -R .reginfo" \
     $(SCRIPT_DIR)/rstrip.sh
 endif
 
This page took 0.025259 seconds and 4 git commands to generate.