Module Name:    src
Committed By:   rin
Date:           Fri Jan  4 21:39:38 UTC 2019

Modified Files:
        src/sys/arch/aarch64/include: param.h

Log Message:
ALIGNBYTES32 should be (8 - 1), not (4 - 1) for EABI:
https://nxr.netbsd.org/xref/src/sys/arch/arm/include/cdefs.h#56

Now, sshd for earmv7hf works without problems.
Also fix other users of cmsg(3) API hopefully.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/aarch64/include/param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/aarch64/include/param.h
diff -u src/sys/arch/aarch64/include/param.h:1.8 src/sys/arch/aarch64/include/param.h:1.9
--- src/sys/arch/aarch64/include/param.h:1.8	Thu Dec  6 18:36:06 2018
+++ src/sys/arch/aarch64/include/param.h	Fri Jan  4 21:39:38 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.8 2018/12/06 18:36:06 skrll Exp $ */
+/* $NetBSD: param.h,v 1.9 2019/01/04 21:39:38 rin Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -85,7 +85,7 @@
 /* AARCH64-specific macro to align a stack pointer (downwards). */
 #define STACK_ALIGNBYTES	(16 - 1)
 
-#define ALIGNBYTES32		(4 - 1)
+#define ALIGNBYTES32		(8 - 1)
 #define ALIGN32(p)		\
 	(((uintptr_t)(p) + ALIGNBYTES32) & ~ALIGNBYTES32)
 

Reply via email to