]> sourceware.org Git - newlib-cygwin.git/commitdiff
Cygwin: cygtls: drop useless alignment directives
authorCorinna Vinschen <corinna@vinschen.de>
Mon, 5 Sep 2022 17:49:11 +0000 (19:49 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 5 Sep 2022 17:52:28 +0000 (19:52 +0200)
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>
winsup/cygwin/local_includes/cygtls.h

index 61c4cbeef9ecdcabddbc7a46421d5f0b0617df3a..f67e9136c326e8c064c8cef78a2df3ad77965876 100644 (file)
@@ -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;
This page took 0.033193 seconds and 5 git commands to generate.