From 015f0bb2d85475bb952d6287d09b45932d7d215b Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 26 Oct 2017 17:31:41 -0700 Subject: [PATCH] Port thread.c to OpenBSD ARM Problem reported by Jeremie Courreges-Anglas (Bug#29005). * src/thread.c (main_thread): Align to GCALIGNMENT. --- src/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thread.c b/src/thread.c index c03cdda0fae..6f12d796ff9 100644 --- a/src/thread.c +++ b/src/thread.c @@ -26,7 +26,7 @@ along with GNU Emacs. If not, see . */ #include "coding.h" #include "syssignal.h" -static struct thread_state main_thread; +static struct thread_state alignas (GCALIGNMENT) main_thread; struct thread_state *current_thread = &main_thread; -- 2.39.2