summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/Makefile
diff options
context:
space:
mode:
authorMark Salter <msalter@redhat.com>2010-01-08 14:43:15 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2010-01-11 09:34:09 -0800
commitb0641e86fbc722906e323b2c2a069e65f44ff484 (patch)
tree404800b6c0a2a8c5478d7ab8385292850ec8bd97 /arch/mn10300/Makefile
parent4c03ee7352f2f0ee393c7190ce0b758dd1217f57 (diff)
downloadlinux-b0641e86fbc722906e323b2c2a069e65f44ff484.tar.gz
linux-b0641e86fbc722906e323b2c2a069e65f44ff484.tar.bz2
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 'arch/mn10300/Makefile')
-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 +=