Skip to content

Commit

Permalink
mn10300: objcopy flags fix
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David Howells <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
mosalter authored and torvalds committed Jan 11, 2010
1 parent 4c03ee7 commit b0641e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mn10300/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 +=

Expand Down

0 comments on commit b0641e8

Please sign in to comment.