Re: [Mingw-w64-public] [PATCH] crt: Use __attribute__((force_align_arg_pointer)) for aligning the stack on entry

2018-03-11 Thread JonY via Mingw-w64-public
On 03/11/2018 10:29 PM, Martin Storsjö wrote: > This attribute is available since GCC 4.2. > > The previous trick of using inline assembly for overriding the stack > pointer behind the compiler's back isn't guaranteed to work. > > This fixes stack alignment on llvm/clang. > > Signed-off-by:

Re: [Mingw-w64-public] [PATCH] crt: Use __attribute__((force_align_arg_pointer)) for aligning the stack on entry

2018-03-11 Thread Kai Tietz via Mingw-w64-public
Ok. Thanks Kai 2018-03-11 23:29 GMT+01:00 Martin Storsjö : > This attribute is available since GCC 4.2. > > The previous trick of using inline assembly for overriding the stack > pointer behind the compiler's back isn't guaranteed to work. > > This fixes stack alignment on