From: Doug Evans Date: Tue, 21 May 1996 17:25:24 +0000 (+0000) Subject: (STRUCTURE_SIZE_BOUNDARY): Add comment explaining why it's 32. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d94bb81f0abfe4d470eaee2b3c097b1bbe8b421;p=gcc.git (STRUCTURE_SIZE_BOUNDARY): Add comment explaining why it's 32. From-SVN: r12066 --- diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 68e6a15ef13..d7a22a1f09b 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -400,6 +400,9 @@ extern int arm_arch4; && (ALIGN) < BITS_PER_WORD ? BITS_PER_WORD : (ALIGN)) /* Every structures size must be a multiple of 32 bits. */ +/* This is for compatibility with ARMCC. ARM SDT Reference Manual + (ARM DUI 0020D) page 2-20 says "Structures are aligned on word + boundaries". */ #define STRUCTURE_SIZE_BOUNDARY 32 /* Non-zero if move instructions will actually fail to work