diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-07-12 13:09:02 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-08-05 19:45:19 +0100 |
commit | f29dda01e00043ed2767192c0b12de708256e2f8 (patch) | |
tree | 8c5e2d5152bad446e7ec062437799f8ecfad2c24 | |
parent | b38585301de505f6d82f7be0dd8f6913c1bb8528 (diff) | |
download | glibc-f29dda01e00043ed2767192c0b12de708256e2f8.tar.gz glibc-f29dda01e00043ed2767192c0b12de708256e2f8.tar.xz glibc-f29dda01e00043ed2767192c0b12de708256e2f8.zip |
cheri: nptl: fix pthread_attr_t alignment
Alignment of the public definition did not match the internal layout. Ensure that the type is at least pointer aligned.
-rw-r--r-- | sysdeps/nptl/bits/pthreadtypes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/nptl/bits/pthreadtypes.h b/sysdeps/nptl/bits/pthreadtypes.h index 706c2bb495..f889b8926f 100644 --- a/sysdeps/nptl/bits/pthreadtypes.h +++ b/sysdeps/nptl/bits/pthreadtypes.h @@ -61,6 +61,7 @@ union pthread_attr_t { char __size[__SIZEOF_PTHREAD_ATTR_T]; long int __align; + void * __align_p; }; #ifndef __have_pthread_attr_t typedef union pthread_attr_t pthread_attr_t; |