This is the mail archive of the
mailing list for the binutils project.
Re: ld: section can't be allocated in segment 1
H.J. Lu schrieb:
> On Mon, Oct 22, 2007 at 01:00:27AM +0200, Clemens Koller wrote:
>> H.J. Lu schrieb:
>>> On Sat, Oct 20, 2007 at 02:32:29AM +0200, Clemens Koller wrote:
>>>> -Map u-boot.map -o u-boot
>>>> ld: u-boot: section `.bootpg' can't be allocated in segment 1
>>>> LOAD: .bootpg .resetvec
>>>> ld: final link failed: Bad value
>>>> make: *** [u-boot] Error 1
>>> What does "readelf -S" report on .bootpg and .resetvec sections?
>> I hope this will help (created with latest binutils).
> Can you open a bug report at
> and provide me with all link inputs which can be used to reprodouce
> the problem on Linux/x86.
Reduced testcase attached. However, I cannot yet verify the same thing
on x86 since the toolchains aren't so current. I can try if really
needed, please ping me again, then.
Or: I can give you an ssh account on the powerpc machine with the failing
environment. Then, please contact me off-list for the account.
R&D Imaging Devices