All of lore.kernel.org
 help / color / mirror / Atom feed
* + mn10300-objcopy-flags-fix.patch added to -mm tree
@ 2010-01-07  0:28 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2010-01-07  0:28 UTC (permalink / raw)
  To: mm-commits; +Cc: msalter, dhowells


The patch titled
     mn10300: objcopy flags fix
has been added to the -mm tree.  Its filename is
     mn10300-objcopy-flags-fix.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: mn10300: objcopy flags fix
From: Mark Salter <msalter@redhat.com>

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>
---

 arch/mn10300/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/mn10300/Makefile~mn10300-objcopy-flags-fix arch/mn10300/Makefile
--- a/arch/mn10300/Makefile~mn10300-objcopy-flags-fix
+++ a/arch/mn10300/Makefile
@@ -19,7 +19,7 @@ CCDIR	:= $(strip $(patsubst %/specs,%,$(
 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	+=
 
_

Patches currently in -mm which might be from msalter@redhat.com are

mn10300-signal-stack-fix.patch
mn10300-objcopy-flags-fix.patch
mn10300-add-cc-clobbers-to-asm-statements.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-07  0:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-07  0:28 + mn10300-objcopy-flags-fix.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.