* config/arm/arm.h (PCC_BITFIELD_TYPE_MATTERS): Define.
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 May 2004 11:25:49 +0000 (11:25 +0000)
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 May 2004 11:25:49 +0000 (11:25 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81777 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/arm/arm.h

index 2510e13..0bc5892 100644 (file)
@@ -1,5 +1,9 @@
 2004-05-13  Paul Brook  <paul@codesourcery.com>
 
+       * config/arm/arm.h (PCC_BITFIELD_TYPE_MATTERS): Define.
+
+2004-05-13  Paul Brook  <paul@codesourcery.com>
+
        * config/arm/arm.c (arm_default_short_enums): New function.
        (TARGET_DEFAULT_SHORT_ENUMS): Define.
 
index 518e387..fe693a8 100644 (file)
@@ -729,6 +729,12 @@ extern const char * structure_size_string;
 #ifndef SIZE_TYPE
 #define SIZE_TYPE (TARGET_AAPCS_BASED ? "unsigned int" : "long unsigned int")
 #endif
+
+/* AAPCS requires that structure alignment is affected by bitfields.  */
+#ifndef PCC_BITFIELD_TYPE_MATTERS
+#define PCC_BITFIELD_TYPE_MATTERS TARGET_AAPCS_BASED
+#endif
+
 \f
 /* Standard register usage.  */