Re: [PATCH 1/4] init/Kconfig: add config support for detecting linker

2019-02-11 Thread Masahiro Yamada
On Fri, Feb 8, 2019 at 2:42 PM Nathan Chancellor wrote: > > On Thu, Feb 07, 2019 at 07:57:20PM -0500, Mathieu Desnoyers wrote: > > > > - ndesaulni...@google.com wrote: > > > Similar to how we differentiate between CONFIG_CC_IS_GCC and > > > CONFIG_CC_IS_CLANG, add CONFIG_LD_IS_BFD,

Re: [PATCH 1/4] init/Kconfig: add config support for detecting linker

2019-02-08 Thread Sedat Dilek
Feel free to add my... Suggested-by: Sedat Dilek (see my comment in [1]) [1] https://github.com/ClangBuiltLinux/linux/issues/341#issuecomment-459788558

Re: [PATCH 1/4] init/Kconfig: add config support for detecting linker

2019-02-07 Thread Nathan Chancellor
On Thu, Feb 07, 2019 at 07:57:20PM -0500, Mathieu Desnoyers wrote: > > - ndesaulni...@google.com wrote: > > Similar to how we differentiate between CONFIG_CC_IS_GCC and > > CONFIG_CC_IS_CLANG, add CONFIG_LD_IS_BFD, CONFIG_LD_IS_GOLD, and > > CONFIG_LD_IS_LLD. > > > > This simiplifies patches

Re: [PATCH 1/4] init/Kconfig: add config support for detecting linker

2019-02-07 Thread Nathan Chancellor
On Thu, Feb 07, 2019 at 02:01:49PM -0800, ndesaulni...@google.com wrote: > Similar to how we differentiate between CONFIG_CC_IS_GCC and > CONFIG_CC_IS_CLANG, add CONFIG_LD_IS_BFD, CONFIG_LD_IS_GOLD, and > CONFIG_LD_IS_LLD. > > This simiplifies patches to Makefiles that need to do different things

Re: [PATCH 1/4] init/Kconfig: add config support for detecting linker

2019-02-07 Thread Mathieu Desnoyers
- ndesaulni...@google.com wrote: > Similar to how we differentiate between CONFIG_CC_IS_GCC and > CONFIG_CC_IS_CLANG, add CONFIG_LD_IS_BFD, CONFIG_LD_IS_GOLD, and > CONFIG_LD_IS_LLD. > > This simiplifies patches to Makefiles that need to do different things > for different linkers. What

Re: [PATCH 1/4] init/Kconfig: add config support for detecting linker

2019-02-07 Thread Kees Cook
On Thu, Feb 7, 2019 at 10:02 PM wrote: > > Similar to how we differentiate between CONFIG_CC_IS_GCC and > CONFIG_CC_IS_CLANG, add CONFIG_LD_IS_BFD, CONFIG_LD_IS_GOLD, and > CONFIG_LD_IS_LLD. > > This simiplifies patches to Makefiles that need to do different things > for different linkers. > >

[PATCH 1/4] init/Kconfig: add config support for detecting linker

2019-02-07 Thread ndesaulniers
Similar to how we differentiate between CONFIG_CC_IS_GCC and CONFIG_CC_IS_CLANG, add CONFIG_LD_IS_BFD, CONFIG_LD_IS_GOLD, and CONFIG_LD_IS_LLD. This simiplifies patches to Makefiles that need to do different things for different linkers. Cc: Nathan Chancellor Cc: Sami Tolvanen Signed-off-by: