From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] MIPS: provide a default u-boot-spl.lds
Date: Thu, 26 May 2016 14:47:18 +0200 [thread overview]
Message-ID: <5746F056.7000304@denx.de> (raw)
In-Reply-To: <5746EF2C.1010004@gmail.com>
On 05/26/2016 02:42 PM, Daniel Schwierzeck wrote:
>
>
> 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@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?
Because the u-boot driver list will be discarded by linker and that will
lead either to linker complaining about it or scary bugs at runtime.
But you are right, u_boot_list is missing.
>
:)
--
Best regards,
Marek Vasut
next prev parent reply other threads:[~2016-05-26 12:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-26 11:43 [U-Boot] [PATCH] MIPS: provide a default u-boot-spl.lds Daniel Schwierzeck
2016-05-26 12:08 ` Marek Vasut
2016-05-26 12:42 ` Daniel Schwierzeck
2016-05-26 12:47 ` Marek Vasut [this message]
2016-05-26 13:28 ` [U-Boot] [PATCH v2] " Daniel Schwierzeck
2016-05-26 15:17 ` Marek Vasut
2016-05-27 10:03 ` Daniel Schwierzeck
2016-05-27 12:44 ` Marek Vasut
2016-05-30 9:48 ` Daniel Schwierzeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5746F056.7000304@denx.de \
--to=marex@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.