RE: [PATCH v2 1/3] score: Enforce stack and TLS alignment

2021-03-03 Thread Kinsey Moore
-Original Message- From: Sebastian Huber Sent: Wednesday, March 3, 2021 02:44 To: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH v2 1/3] score: Enforce stack and TLS alignment > On 02/03/2021 23:35, Kinsey Moore wrote: >> I don't see that _Stack_Extend_size() doe

Re: [PATCH v2 1/3] score: Enforce stack and TLS alignment

2021-03-03 Thread Sebastian Huber
On 02/03/2021 23:35, Kinsey Moore wrote: -Original Message- From: Sebastian Huber Sent: Tuesday, March 2, 2021 15:09 To: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH v2 1/3] score: Enforce stack and TLS alignment On 02/03/2021 20:47, Kinsey Moore wrote: Enforce alignment of

RE: [PATCH v2 1/3] score: Enforce stack and TLS alignment

2021-03-02 Thread Kinsey Moore
-Original Message- From: Sebastian Huber Sent: Tuesday, March 2, 2021 15:09 To: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH v2 1/3] score: Enforce stack and TLS alignment > On 02/03/2021 20:47, Kinsey Moore wrote: >> Enforce alignment of the stack begin and end by a

Re: [PATCH v2 1/3] score: Enforce stack and TLS alignment

2021-03-02 Thread Sebastian Huber
On 02/03/2021 20:47, Kinsey Moore wrote: Enforce alignment of the stack begin and end by allocating enough stack area that the desired size can be aligned to CPU_STACK_ALIGNMENT. This also ensures that the space reserved for TLS data falls on stack alignment boundaries which satisfies TLS alignm

[PATCH v2 1/3] score: Enforce stack and TLS alignment

2021-03-02 Thread Kinsey Moore
Enforce alignment of the stack begin and end by allocating enough stack area that the desired size can be aligned to CPU_STACK_ALIGNMENT. This also ensures that the space reserved for TLS data falls on stack alignment boundaries which satisfies TLS alignment requirements. --- cpukit/rtems/src/task