Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: new function tc-ld-force-bfd()

2021-01-21 Thread Theo Anderson
On Thu, 21 Jan 2021 00:10:36 -0500 Mike Gilbert wrote: > On Wed, Jan 20, 2021 at 9:41 PM Manoj Gupta > wrote: > > > > > > > > On Wed, Jan 20, 2021 at 1:01 PM Theo Anderson > > wrote: > >> > >> Hello, please see the below patch to support disabling ld.lld like > >> ld.gold. This has not been

Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: new function tc-ld-force-bfd()

2021-01-20 Thread Arfrever Frehtes Taifersar Arahesis
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

Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: new function tc-ld-force-bfd()

2021-01-20 Thread Mike Gilbert
On Wed, Jan 20, 2021 at 9:41 PM Manoj Gupta wrote: > > > > On Wed, Jan 20, 2021 at 1:01 PM Theo Anderson wrote: >> >> Hello, please see the below patch to support disabling ld.lld like >> ld.gold. This has not been split into a separate function >> such as tc-ld-disable-lld(), as I do not

Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: new function tc-ld-force-bfd()

2021-01-20 Thread Manoj Gupta
On Wed, Jan 20, 2021 at 1:01 PM Theo Anderson wrote: > Hello, please see the below patch to support disabling ld.lld like > ld.gold. This has not been split into a separate function > such as tc-ld-disable-lld(), as I do not believe there is a use case > where ld.gold is supported and ld.lld is

[gentoo-dev] [PATCH] toolchain-funcs.eclass: new function tc-ld-force-bfd()

2021-01-20 Thread Theo Anderson
Hello, please see the below patch to support disabling ld.lld like ld.gold. This has not been split into a separate function such as tc-ld-disable-lld(), as I do not believe there is a use case where ld.gold is supported and ld.lld is not. Thanks. Pull-request: