(STRUCTURE_SIZE_BOUNDARY): Add comment explaining why it's 32.
authorDoug Evans <dje@gnu.org>
Tue, 21 May 1996 17:25:24 +0000 (17:25 +0000)
committerDoug Evans <dje@gnu.org>
Tue, 21 May 1996 17:25:24 +0000 (17:25 +0000)
From-SVN: r12066

gcc/config/arm/arm.h

index 68e6a15ef13d8e02ea8447cdd2a5f8382e1fe294..d7a22a1f09b6c8a0b315d54250646c0705587bd0 100644 (file)
@@ -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