mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
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:
parent
4c03ee7352
commit
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 +=
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user