From 596d89b331f5852218d7a82636e5177ea063a2a9 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 26 Mar 2011 15:22:14 +0000 Subject: [PATCH] strip .gnu.attributes and .reginfo from kernel modules SVN-Revision: 26304 --- rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.mk b/rules.mk index ca76ef45b62..cddfdf5d308 100644 --- 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 -- 2.30.2