Re: [PATCH 4/4] x86: don't build CONFIG_X86_32 as -ffreestanding

2021-01-06 Thread Fangrui Song
On 2020-08-17, Nick Desaulniers wrote: -ffreestanding typically inhibits "libcall optimizations" where calls to certain library functions can be replaced by the compiler in certain cases to calls to other library functions that may be more efficient. This can be problematic for embedded targets t

Re: [PATCH 4/4] x86: don't build CONFIG_X86_32 as -ffreestanding

2020-08-18 Thread Kees Cook
On Mon, Aug 17, 2020 at 03:02:12PM -0700, Nick Desaulniers wrote: > -ffreestanding typically inhibits "libcall optimizations" where calls to > certain library functions can be replaced by the compiler in certain > cases to calls to other library functions that may be more efficient. > This can be p

[PATCH 4/4] x86: don't build CONFIG_X86_32 as -ffreestanding

2020-08-17 Thread Nick Desaulniers
-ffreestanding typically inhibits "libcall optimizations" where calls to certain library functions can be replaced by the compiler in certain cases to calls to other library functions that may be more efficient. This can be problematic for embedded targets that don't provide full libc implementatio