From 37c328dedebb5e2f77b45a45f702d2bb490884ad Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 18 Dec 2013 16:41:02 +0000 Subject: Provide MI symbol _STACKALIGNBYTES --- sys/arch/arm/include/_types.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/arch/arm') diff --git a/sys/arch/arm/include/_types.h b/sys/arch/arm/include/_types.h index 65a72c37f81..14a3c7514a3 100644 --- a/sys/arch/arm/include/_types.h +++ b/sys/arch/arm/include/_types.h @@ -1,4 +1,4 @@ -/* $OpenBSD: _types.h,v 1.14 2013/07/13 17:28:35 deraadt Exp $ */ +/* $OpenBSD: _types.h,v 1.15 2013/12/18 16:41:01 deraadt Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -51,8 +51,9 @@ typedef struct label_t { * This does not reflect the optimal alignment, just the possibility * (within reasonable limits). */ -#define _ALIGNBYTES (sizeof(int) - 1) -#define _ALIGN(p) (((unsigned long)(p) + _ALIGNBYTES) & ~_ALIGNBYTES) +#define _ALIGNBYTES (sizeof(int) - 1) +#define _STACKALIGNBYTES 7 +#define _ALIGN(p) (((unsigned long)(p) + _ALIGNBYTES) & ~_ALIGNBYTES) #define _ALIGNED_POINTER(p,t) ((((unsigned long)(p)) & (sizeof(t) - 1)) == 0) /* 7.18.1.1 Exact-width integer types */ -- cgit v1.2.3