summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/Makefile
diff options
context:
space:
mode:
authorMark Salter <msalter@redhat.com>2010-01-08 23:43:15 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-01-11 18:34:09 +0100
commitb0641e86fbc722906e323b2c2a069e65f44ff484 (patch)
tree404800b6c0a2a8c5478d7ab8385292850ec8bd97 /arch/mn10300/Makefile
parentmn10300: signal stack fix (diff)
downloadlinux-b0641e86fbc722906e323b2c2a069e65f44ff484.tar.xz
linux-b0641e86fbc722906e323b2c2a069e65f44ff484.zip
mn10300: objcopy flags fix
The gcc-4.2.1 based toolchain for MN10300 adds some new note sections which need to be stripped from the binary image. This patch takes care of that. Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--arch/mn10300/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mn10300/Makefile b/arch/mn10300/Makefile
index dd0c8ff52a68..ac5c6bdb2f05 100644
--- a/arch/mn10300/Makefile
+++ b/arch/mn10300/Makefile
@@ -19,7 +19,7 @@ CCDIR := $(strip $(patsubst %/specs,%,$(CCSPECS)))
KBUILD_CPPFLAGS += -nostdinc -I$(CCDIR)/include
LDFLAGS :=
-OBJCOPYFLAGS := -O binary -R .note -R .comment -S
+OBJCOPYFLAGS := -O binary -R .note -R .comment -R .GCC-command-line -R .note.gnu.build-id -S
#LDFLAGS_vmlinux := -Map linkmap.txt
CHECKFLAGS +=