RE: [U-Boot-Users] u-boot.lds, help...

Ha, great thanks. Methinks that your info has helped; all I needed to do was increase the size of the location counter for the .text part of the script.
Thanks Flavio Pereira
-----Original Message----- From: Daniel Engström [mailto:daniel@omicron.se] Sent: Thursday, April 10, 2003 2:50 PM To: Flavio Pereira Cc: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] u-boot.lds, help...
On 2003.04.10 14:39 Flavio Pereira wrote:
Hi
Can anyone explain to me how to modify/use the u-boot.lds file?
This file is a linker scipt read by the gnu linker. The format is documented in the ld manual distributed with binutils.
RedHat have a version onlie at http://sources.redhat.com/binutils/docs-2.12/
The documentation on the linker scipts is quite hard to digest, but it is possible, given enough patience.
Best Regards, /Daniel

In message 742AC4678EF8464697DDDFE3B40F6ECD39FD9C@SRV-MAILRND.azisa.co.za you wrote:
Ha, great thanks. Methinks that your info has helped; all I needed to do was increase the size of the location counter for the .text part of the script.
Be careful. This is almost certainly the _wrong_ solution. At least if your enviornment is embedded in the U-Boot image you will probably run into problems. You have to understand the image layout. All you can (and should) do is shuffeling object files around, i. e. select such a sequence of objects that your text segment has the right structure without too big gaps.
Wolfgang Denk
participants (2)
-
Flavio Pereira
-
Wolfgang Denk