This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: gold input section handling
- From: Andi Kleen <andi at firstfloor dot org>
- To: David Miller <davem at davemloft dot net>
- Cc: binutils at sourceware dot org
- Date: Mon, 14 Apr 2008 14:54:08 +0200
- Subject: Re: gold input section handling
- References: <20080413.204310.184325390.davem@davemloft.net>
David Miller <davem@davemloft.net> writes:
> When trying to build a sparc64 Linux kernel with my sparc gold target
> I get an assertion failure in Output_data_dynamic::set_info_section().
That's the same I'm seeing on x86-64 also with the linux kernel.
> The reason is that the input objects to the link are using different
> section flags for a particular section.
>
> The section '.devinit.data' in one object uses just SHF_ALLOC, and in
> another it used (SHF_ALLOC | SHF_WRITE).
Yes, hit it with that section too.
Perhaps it should be fixed in the kernel, but fixing gold too would
make sense I guess.
-Andi