diff options
author | David Mosberger-Tang | 2007-08-09 19:53:15 +0200 |
---|---|---|
committer | Tony Luck | 2007-08-13 22:28:04 +0200 |
commit | 336cdba8640677117bc3fd101e3e1a34c98a275d (patch) | |
tree | c5738d1c291f7b0079a604e4ef29a26adf6b106e /arch/sh/boards/hp6xx | |
parent | [IA64] make unwinder stop at last frame of the bootloader (diff) | |
download | kernel-qcow2-linux-336cdba8640677117bc3fd101e3e1a34c98a275d.tar.gz kernel-qcow2-linux-336cdba8640677117bc3fd101e3e1a34c98a275d.tar.xz kernel-qcow2-linux-336cdba8640677117bc3fd101e3e1a34c98a275d.zip |
[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 <dmosberger@gmail.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/sh/boards/hp6xx')
0 files changed, 0 insertions, 0 deletions