From: David Mosberger-Tang Date: Thu, 9 Aug 2007 17:53:15 +0000 (-0600) Subject: [IA64] need NOTES in vmlinux.lds.S X-Git-Tag: v2.6.23-rc4~124^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=336cdba8640677117bc3fd101e3e1a34c98a275d;p=pandora-kernel.git [IA64] need NOTES in vmlinux.lds.S Add NOTES to linker script such that the kernel can be built with recent versions of binutils. Without this patch, final link fails with this error: ld: .tmp_vmlinux1: section `.text' can't be allocated in segment 0 ld: final link failed: Bad value This error is due to the fact that the --build-id option is used with newer linkers to include a .notes section on the kernel, but without the NOTES macro, that section won't be included in the kernel which then leads to the above error message. Signed-off-by: David Mosberger-Tang Signed-off-by: Tony Luck --- Reading git-diff-tree failed