|
From: | Nick Clifton |
Subject: | Re: ld overwriting output sections??? |
Date: | Fri, 30 Sep 2005 12:08:42 +0100 |
User-agent: | Mozilla Thunderbird 1.0 (X11/20041206) |
Hi Jakub,
the kernel image is linked together correctly (line is present) or the .mapped section overwrites the .unmapped section (line is not present).
When you say that it overwrites are you referring to the load-time address (LMA) or the run-time address (VMA) or both ?
Is there anything wrong with our linking process or is it a bug in ld?
It does sound like a ld problem. Have you tried using the latest sources from the CVS repository ? They may work. If not, please could you put together a small test program (assembler source, linker script, makefile) that demonstrates the problem so that we can investigate further ?
.mapped (((0x100000 +0x8000) + 0x80000000)+SIZEOF(.unmapped)): AT (0x8000 +SIZEOF(.unmapped)) {
Presumably this line is the culprit, and at a guess I would assume that the SIZEOF() operator is not working properly.
Cheers Nick
[Prev in Thread] | Current Thread | [Next in Thread] |