From: Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: new function tc-ld-force-bfd()
Date: Thu, 21 Jan 2021 08:50:06 +0100 [thread overview]
Message-ID: <CALaCa4yQGjqY33xaEjJwVhu+sSEVNvq_Hpg4dc9e4-EjYizeFw@mail.gmail.com> (raw)
In-Reply-To: <CAJ0EP404iRVgwPy5Qs3qViB2pDTKf8Kow+Q0+tLqgRSsDA9Ghw@mail.gmail.com>
Maybe one generic function (called e.g. tc-set-linker) whose arguments
are a preference-ordered list of supported linkers?
If currently used linker is not in the specified list, then this
function would force using first found linker from that list.
Forcing bfd only:
tc-set-linker bfd
Forcing gold only:
tc-set-linker gold
Forcing lld only:
tc-set-linker lld
Forcing bfd or gold (with bfd preferred if both are available):
tc-set-linker bfd gold
Forcing bfd or lld (with bfd preferred if both are available):
tc-set-linker bfd lld
Forcing lld or bfd (with lld preferred if both are available):
tc-set-linker lld bfd
next prev parent reply other threads:[~2021-01-21 7:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-20 21:00 [gentoo-dev] [PATCH] toolchain-funcs.eclass: new function tc-ld-force-bfd() Theo Anderson
2021-01-21 2:41 ` Manoj Gupta
2021-01-21 5:10 ` Mike Gilbert
2021-01-21 7:50 ` Arfrever Frehtes Taifersar Arahesis [this message]
2021-01-21 10:44 ` Theo Anderson
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=CALaCa4yQGjqY33xaEjJwVhu+sSEVNvq_Hpg4dc9e4-EjYizeFw@mail.gmail.com \
--to=arfrever.fta@gmail.com \
--cc=gentoo-dev@lists.gentoo.org \
/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