[U-Boot] [PATCH] MIPS: provide a default u-boot-spl.lds

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Thu May 26 14:42:20 CEST 2016



Am 26.05.2016 um 14:08 schrieb Marek Vasut:
> On 05/26/2016 01:43 PM, Daniel Schwierzeck wrote:
>> Provide a default linker script for SPL binaries. Start address
>> and size of text section and BSS section are configurable. All
>> sections are arranged in a way that only relevant sections are
>> kept in the code section for maximum size reduction. All other
>> sections are kept but moved outside the code section to help
>> with debugging.
>>
>> Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
> 
> I'm worried this will blow when you enable DM in SPL, since DM uses
> special section(s) to keep the driver linked lists in. You'll probably
> need to add something like KEEP(*(SORT(.u_boot_list*))); somewhere in
> there.
> 

why should this blow? But you are right, u_boot_list is missing.

-- 
- Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160526/57f1edf0/attachment.sig>


More information about the U-Boot mailing list