From: Hirokazu Takata Date: Sun, 4 Oct 2009 15:10:55 +0000 (+0900) Subject: m32r: add NOTES to vmlinux.lds.S to remove .note.gnu.build-id section X-Git-Tag: v2.6.32-rc7~76^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e968b8d404ae8ab4ef218cd145f6dcb71e65154b;p=pandora-kernel.git m32r: add NOTES to vmlinux.lds.S to remove .note.gnu.build-id section Building with --build-id option, .note.gnu.build-id section is added to vmlinux.bin. But some old buggy binutils creates a huge vmlinux.bin, and a bootloader fails to boot its zImage as well. This patch adds a NOTES macro to a linker script vmlinux.ld.S to put .note.gnu.build-id section into .note section. Then, the .note section will be removed, because "-R .note" option is specified in OBJCOPYFLAGS to make a vmlinux.bin binary. Signed-off-by: Hirokazu Takata --- Reading git-diff-tree failed