Module Name: src Committed By: matt Date: Fri Aug 3 08:11:40 UTC 2012
Modified Files: src/sys/arch/arm/include: param.h Log Message: Adjust ALIGNBYTES32 depending on __ARM_EABI__ To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/arch/arm/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/arm/include/param.h diff -u src/sys/arch/arm/include/param.h:1.16 src/sys/arch/arm/include/param.h:1.17 --- src/sys/arch/arm/include/param.h:1.16 Fri Aug 3 07:59:23 2012 +++ src/sys/arch/arm/include/param.h Fri Aug 3 08:11:40 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: param.h,v 1.16 2012/08/03 07:59:23 matt Exp $ */ +/* $NetBSD: param.h,v 1.17 2012/08/03 08:11:40 matt Exp $ */ /* * Copyright (c) 1994,1995 Mark Brinicombe. @@ -81,7 +81,11 @@ /* ARM-specific macro to align a stack pointer (downwards). */ #define STACK_ALIGNBYTES (8 - 1) +#ifdef __ARM_EABI__ #define ALIGNBYTES32 3 +#else +#define ALIGNBYTES32 7 +#endif #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */ #define DEV_BSIZE (1 << DEV_BSHIFT)