Re: [tip:x86/urgent] x86: Fix build with older binutils andconsolidate linker script

From: Ingo Molnar
Date: Tue Aug 25 2009 - 03:51:01 EST



* tip-bot for Jan Beulich <JBeulich@xxxxxxxxxx> wrote:

> Commit-ID: ddc98b38b6320d5de2e3167673a06ec1a48e9d0e
> Gitweb: http://git.kernel.org/tip/ddc98b38b6320d5de2e3167673a06ec1a48e9d0e
> Author: Jan Beulich <JBeulich@xxxxxxxxxx>
> AuthorDate: Tue, 18 Aug 2009 16:51:27 +0100
> Committer: H. Peter Anvin <hpa@xxxxxxxxx>
> CommitDate: Mon, 24 Aug 2009 15:51:35 -0700
>
> x86: Fix build with older binutils and consolidate linker script

this breaks the build with newer binutils:

LD .tmp_vmlinux1
ld: .tmp_vmlinux1: section `.init.text' can't be allocated in segment 2
LOAD: .vsyscall_0 .vsyscall_fn .vsyscall_gtod_data .vsyscall_1
.vsyscall_2 .vgetcpu_mode .jiffies .init.text .init.data .init.setup
.initcall.init .con_initcall.init .x86_cpu_dev.init
.security_initcall.init .parainstructions .altinstructions
.altinstr_replacement .exit.text .bss .brk
ld: final link failed: Bad value
make: *** [.tmp_vmlinux1] Error 1

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/