Re: [PATCH v2] asm goto: eradicate CC_HAS_ASM_GOTO

2022-08-21 Thread Sedat Dilek
On Sun, Aug 21, 2022 at 7:13 PM Linus Torvalds wrote: > > Applied directly, just because I love seeing old nasty stuff like this go > away. > > Linus Hi, Small nitpick: --- a/arch/x86/include/asm/rmwcc.h +++ b/arch/x86/include/asm/rmwcc.h ... -#if !defined(__GCC_ASM_FLAG_OUTPUTS__

Re: [PATCH 1/2] kbuild: Remove '-mno-global-merge'

2022-03-31 Thread Sedat Dilek
On Thu, Mar 31, 2022 at 5:37 PM Nathan Chancellor wrote: > > On Thu, Mar 31, 2022 at 09:11:12AM +0200, Sedat Dilek wrote: > > On Thu, Mar 31, 2022 at 5:27 AM Nathan Chancellor wrote: > > > > > > This flag is specific to clang, where it is only used by the 32-bit and

Re: [PATCH 1/2] kbuild: Remove '-mno-global-merge'

2022-03-31 Thread Sedat Dilek
ed > names. > -# See modpost pattern 2 > -KBUILD_CFLAGS += -mno-global-merge > else > > # gcc inanely warns about local variables called 'main' > -- > 2.35.1 > I have tested this several times and was able to boot into bar metal - no problems with

Re: [PATCH] um: clang: Strip out -mno-global-merge from USER_CFLAGS

2022-03-04 Thread Sedat Dilek
On Thu, Mar 3, 2022 at 9:43 PM Nick Desaulniers wrote: > > On Thu, Mar 3, 2022 at 10:26 AM Nathan Chancellor wrote: > > > > On Thu, Mar 03, 2022 at 10:04:28AM -0800, Kees Cook wrote: > > > How does -mno-global-merge get KBUILD_CFLAGS in the first place? If it's > > > arm/arm64 only, shouldn't tha