Explorar o código

strip .gnu.attributes and .reginfo from kernel modules

SVN-Revision: 26304
Felix Fietkau %!s(int64=14) %!d(string=hai) anos
pai
achega
596d89b331
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rules.mk

+ 1 - 1
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