]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
authorRichard Henderson <rth@redhat.com>
Mon, 17 Jun 2002 20:21:49 +0000 (13:21 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 17 Jun 2002 20:21:49 +0000 (13:21 -0700)
        * config/i386/i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead
        of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.

From-SVN: r54714

gcc/ChangeLog
gcc/config/i386/i386.h

index 0b134da84f9416246c619cc5487172113fc02361..b370ed1c62fb654f657a130a78daee1872a9b88f 100644 (file)
@@ -1,3 +1,8 @@
+2002-06-17  Richard Henderson  <rth@redhat.com>
+
+       * config/i386/i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead
+       of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
+
 2002-06-17  Richard Henderson  <rth@redhat.com>
 
        PR target/6922
index 1a4aa858afdba9f2a5d7d717e035072dbb7ea508..fc5898bdc6a4b2640b18721ff909ceacd6213987 100644 (file)
@@ -782,8 +782,15 @@ extern int ix86_arch;
    boundaries, so lower the aligment for structure fields unless
    -malign-double is set.  */
 
+/* ??? Blah -- this macro is used directly by libobjc.  Since it
+   supports no vector modes, cut out the complexity and fall back
+   on BIGGEST_FIELD_ALIGNMENT.  */
+#ifdef IN_TARGET_LIBS
+#define BIGGEST_FIELD_ALIGNMENT 32
+#else
 #define ADJUST_FIELD_ALIGN(FIELD, COMPUTED) \
    x86_field_alignment (FIELD, COMPUTED)
+#endif
 
 /* If defined, a C expression to compute the alignment given to a
    constant that is being placed in memory.  EXP is the constant