diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2022-09-05 19:49:11 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2022-09-05 19:52:28 +0200 |
commit | 783133b753d8c62077a575a9b1adb3f334615d02 (patch) | |
tree | e9300db789d719aa082f8fb479d75b9f29a090a7 | |
parent | a68e99f8839e4697790077c8a77b506d528cc674 (diff) | |
download | newlib-783133b753d8c62077a575a9b1adb3f334615d02.zip newlib-783133b753d8c62077a575a9b1adb3f334615d02.tar.gz newlib-783133b753d8c62077a575a9b1adb3f334615d02.tar.bz2 |
Cygwin: cygtls: drop useless alignment directives
The patch fixing the alignment of _cygtls::context accidentally
pushed the desperate attempt to automate the alignment by using
another, non-working variation of attribute((aligned)). Drop it.
Fixes: dcab768cb93e ("Cygwin: cygtls: fix context alignment")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r-- | winsup/cygwin/local_includes/cygtls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/local_includes/cygtls.h b/winsup/cygwin/local_includes/cygtls.h index 61c4cbe..f67e913 100644 --- a/winsup/cygwin/local_includes/cygtls.h +++ b/winsup/cygwin/local_includes/cygtls.h @@ -185,7 +185,7 @@ public: /* Do NOT remove this public: line, it's a marker for gentls_offsets. */ If you prepend cygtls members here, make sure context stays 16 byte aligned. The gentls_offsets script checks for that now and fails if the alignment is wrong. */ - ucontext_t __attribute__((__aligned__(__alignof__(long double)))) context; + ucontext_t context; DWORD thread_id; siginfo_t infodata; struct pthread *tid; |