Re: [PATCH 2/2] Export _NCPUWORDS for Ada

2015-11-01 Thread Sebastian Huber
On 30/10/15 19:02, Joel Sherrill wrote: On October 30, 2015 1:58:33 PM EDT, Jan Sommer wrote: >Am Friday 30 October 2015, 10:07:45 schrieb Sebastian Huber: >>On 30/10/15 09:53, Jan Sommer wrote: >> >Am Friday 30 October 2015, 07:50:16 schrieb Sebastian

Re: [PATCH 2/2] Export _NCPUWORDS for Ada

2015-10-30 Thread Sebastian Huber
On 30/10/15 07:50, Sebastian Huber wrote: How is this tackled in the glibc/Linux support? Is the exact layout of the structures really interesting for Ada? I guess its sufficient to tell Ada the size and alignment of pthread_attr_t for example. It would be good to have test cases that ensure

Re: [PATCH 2/2] Export _NCPUWORDS for Ada

2015-10-30 Thread Sebastian Huber
On 30/10/15 09:53, Jan Sommer wrote: Am Friday 30 October 2015, 07:50:16 schrieb Sebastian Huber: >How is this tackled in the glibc/Linux support? Is the exact layout of >the structures really interesting for Ada? I guess its sufficient to >tell Ada the size and alignment of pthread_attr_t for

Re: [PATCH 2/2] Export _NCPUWORDS for Ada

2015-10-30 Thread Jan Sommer
Am Friday 30 October 2015, 07:50:16 schrieb Sebastian Huber: > How is this tackled in the glibc/Linux support? Is the exact layout of > the structures really interesting for Ada? I guess its sufficient to > tell Ada the size and alignment of pthread_attr_t for example. > In Linux they do it