From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 532823857016; Mon, 5 Sep 2022 17:52:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 532823857016 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1662400363; bh=YR2YF/9U3WgTHU8cn8GnQvl1m0N1Got1KbGAl1+BExo=; h=From:To:Subject:Date:From; b=tDnHSW4QnS/A5zH75qAHyM35zzZiTAb4u+t3h9zuacqCDYG8H/OWMU/UasOzc6Ziq WGXN49/IWu3kFATJVVdAi2k+CNcM9IHt3tL0ptA8kurpv7YrK7skRKcO1XPK+ZNuHV 6okdUt0lgat1ejAMDEN6z+LRaIaRB63t1hJ0a+b4= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Corinna Vinschen To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: cygtls: drop useless alignment directives X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/master X-Git-Oldrev: a68e99f8839e4697790077c8a77b506d528cc674 X-Git-Newrev: 783133b753d8c62077a575a9b1adb3f334615d02 Message-Id: <20220905175243.532823857016@sourceware.org> Date: Mon, 5 Sep 2022 17:52:43 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D783133b753d= 8c62077a575a9b1adb3f334615d02 commit 783133b753d8c62077a575a9b1adb3f334615d02 Author: Corinna Vinschen Date: Mon Sep 5 19:49:11 2022 +0200 Cygwin: cygtls: drop useless alignment directives =20 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. =20 Fixes: dcab768cb93e ("Cygwin: cygtls: fix context alignment") Signed-off-by: Corinna Vinschen 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_in= cludes/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 mark= er 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)))) contex= t; + ucontext_t context; DWORD thread_id; siginfo_t infodata; struct pthread *tid;