Commit:     1e621a8e3752367d4aae78a8ab00a18fb2793f34
Parent:     033b8ffe3f1ea8174d51d125838ac6deea60f63f
Author:     Lennert Buytenhek <[EMAIL PROTECTED]>
AuthorDate: Fri Oct 12 14:38:54 2007 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Fri Oct 12 23:43:50 2007 +0100

    [ARM] 4600/1: fix kernel build failure with build-id-supporting binutils
    Newer versions of binutils support --build-id, which adds an ELF
    note section called "" to the output.  On the ARM
    kernel build, because there is no explicit mention of this section
    in the shipped ld script, this section is placed at vaddr 0x00000000
    (whereas the normal kernel text/data typically starts at vaddr
    0xc0008000), causing the output of objcopy (Image) to produce a 3G+
    This patch makes objcopy strip the section from
    the Image file along with all other note sections, which fixes the
    Signed-off-by: Lennert Buytenhek <[EMAIL PROTECTED]>
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
 arch/arm/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index fa4ea9f..6c2d539 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -12,7 +12,7 @@
 LDFLAGS_vmlinux        :=-p --no-undefined -X = -DTEXT_OFFSET=$(TEXT_OFFSET)
-OBJCOPYFLAGS   :=-O binary -R .note -R .comment -S
+OBJCOPYFLAGS   :=-O binary -R .note -R -R .comment -S
 GZFLAGS                :=-9
 #CFLAGS                +=-pipe
 # Explicitly specifiy 32-bit ARM ISA since toolchain default can be -mthumb:
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to