artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d06b71a
)
The ELF psABI for PPC specifies that the stack shall always be 16-byte aligned.
author
guenther
<guenther@openbsd.org>
Tue, 21 Apr 2015 01:38:41 +0000
(
01:38
+0000)
committer
guenther
<guenther@openbsd.org>
Tue, 21 Apr 2015 01:38:41 +0000
(
01:38
+0000)
ok mpi@ deraadt@
sys/arch/powerpc/include/_types.h
patch
|
blob
|
history
diff --git
a/sys/arch/powerpc/include/_types.h
b/sys/arch/powerpc/include/_types.h
index
278ae4a
..
5a4da2c
100644
(file)
--- a/
sys/arch/powerpc/include/_types.h
+++ b/
sys/arch/powerpc/include/_types.h
@@
-1,4
+1,4
@@
-/* $OpenBSD: _types.h,v 1.2
0 2014/03/19 05:14:13
guenther Exp $ */
+/* $OpenBSD: _types.h,v 1.2
1 2015/04/21 01:38:41
guenther Exp $ */
/*-
* Copyright (c) 1990, 1993
@@
-52,7
+52,7
@@
typedef struct label_t {
* (within reasonable limits).
*/
#define _ALIGNBYTES (sizeof(double) - 1)
-#define _STACKALIGNBYTES
_ALIGNBYTES
+#define _STACKALIGNBYTES
15
#define _ALIGN(p) (((unsigned long)(p) + _ALIGNBYTES) & ~_ALIGNBYTES)
#define _ALIGNED_POINTER(p,t) ((((unsigned long)(p)) & (sizeof(t) - 1)) == 0)