public inbox for cygwin-cvs@sourceware.org help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org> To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: cygtls: drop useless alignment directives Date: Mon, 5 Sep 2022 17:52:43 +0000 (GMT) [thread overview] Message-ID: <20220905175243.532823857016@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=783133b753d8c62077a575a9b1adb3f334615d02 commit 783133b753d8c62077a575a9b1adb3f334615d02 Author: Corinna Vinschen <corinna@vinschen.de> Date: Mon Sep 5 19:49:11 2022 +0200 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> Diff: --- winsup/cygwin/local_includes/cygtls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/local_includes/cygtls.h b/winsup/cygwin/local_includes/cygtls.h index 61c4cbeef..f67e9136c 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;
reply other threads:[~2022-09-05 17:52 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220905175243.532823857016@sourceware.org \ --to=corinna@sourceware.org \ --cc=cygwin-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).