aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgcc/crtstuff.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgcc/crtstuff.c b/libgcc/crtstuff.c
index b98b86a..b0d0062 100644
--- a/libgcc/crtstuff.c
+++ b/libgcc/crtstuff.c
@@ -261,7 +261,8 @@ STATIC func_ptr __DTOR_LIST__[1]
/* Stick a label at the beginning of the frame unwind info so we can register
and deregister it with the exception handling library code. */
STATIC EH_FRAME_SECTION_CONST char __EH_FRAME_BEGIN__[]
- __attribute__((section(__LIBGCC_EH_FRAME_SECTION_NAME__), aligned(4)))
+ __attribute__((section(__LIBGCC_EH_FRAME_SECTION_NAME__),
+ aligned(__alignof__ (void *))))
= { };
#endif /* USE_EH_FRAME_REGISTRY */