From 7d94bb81f0abfe4d470eaee2b3c097b1bbe8b421 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Tue, 21 May 1996 17:25:24 +0000 Subject: (STRUCTURE_SIZE_BOUNDARY): Add comment explaining why it's 32. From-SVN: r12066 --- gcc/config/arm/arm.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc') diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 68e6a15..d7a22a1 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 -- cgit v1.1