Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Mark Salter and committed by
Linus Torvalds
b0641e86 4c03ee73

+1 -1
+1 -1
arch/mn10300/Makefile
··· 19 19 KBUILD_CPPFLAGS += -nostdinc -I$(CCDIR)/include 20 20 21 21 LDFLAGS := 22 - OBJCOPYFLAGS := -O binary -R .note -R .comment -S 22 + OBJCOPYFLAGS := -O binary -R .note -R .comment -R .GCC-command-line -R .note.gnu.build-id -S 23 23 #LDFLAGS_vmlinux := -Map linkmap.txt 24 24 CHECKFLAGS += 25 25