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>
This commit is contained in:
Родитель
4c03ee7352
Коммит
b0641e86fb
|
@ -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 +=
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче