[PATCH v2] x86-64: Align child stack to 16 bytes [BZ #27902]
H.J. Lu
hjl.tools@gmail.com
Sun May 23 18:40:50 GMT 2021
On Sun, May 23, 2021 at 10:57 AM Andreas Schwab <schwab@linux-m68k.org> wrote:
>
> On Mai 23 2021, H.J. Lu via Libc-alpha wrote:
>
> > + /* NB: Try to force misaligned child stack. */
> > + char st[STACK_SIZE + 4] __attribute__ ((aligned (1)));
>
> If you want a misaligned pointer, you need to start with a known
> alignment.
>
Fixed.
Here is the v2 patch. OK for master?
Thanks.
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0001-x86-64-Align-child-stack-to-16-bytes-BZ-27902.patch
Type: text/x-patch
Size: 4450 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20210523/b428fd98/attachment.bin>
More information about the Libc-alpha
mailing list