From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] config: Always use GNU ld
Date: Fri, 10 Aug 2012 22:48:20 +0200 [thread overview]
Message-ID: <20120810224820.71c15e05@wker> (raw)
In-Reply-To: <1343924374-17404-1-git-send-email-otavio@ossystems.com.br>
Hi,
On Thu, 2 Aug 2012 13:19:34 -0300
Otavio Salvador <otavio@ossystems.com.br> wrote:
> From: Khem Raj <raj.khem@gmail.com>
>
> This patch makes sure that we always use the GNU ld. U-Boot uses certain
> construct e.g. OVERLAY which are not implemented in gold therefore it
> always needs GNU ld for linking.
>
> It works well if default linker in toolchain is GNU ld but in some
> cases we can have gold to be the default linker and also ship GNU ld
> but not as default in such cases its called $(PREFIX)ld.bfd, with this
> patch we make sure that if $(PREFIX)ld.bfd exists than we use that for
> our ld.
>
> This way it does not matter what the default ld is.
>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> config.mk | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
applied to my staging branch, thanks!
Anatolij
prev parent reply other threads:[~2012-08-10 20:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-02 16:19 [U-Boot] [PATCH] config: Always use GNU ld Otavio Salvador
2012-08-02 17:49 ` Mike Frysinger
2012-08-04 22:31 ` Otavio Salvador
2012-08-09 19:49 ` Otavio Salvador
2012-08-10 20:48 ` Anatolij Gustschin [this message]
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=20120810224820.71c15e05@wker \
--to=agust@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox