From: Richard Henderson Date: Mon, 17 Jun 2002 20:21:49 +0000 (-0700) Subject: i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS. X-Git-Tag: releases/gcc-3.1.1~137 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e12a22a625431e9349715e4a4c3ff73e2c2f0edb;p=thirdparty%2Fgcc.git i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS. * config/i386/i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS. From-SVN: r54714 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b134da84f94..b370ed1c62fb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-06-17 Richard Henderson + + * config/i386/i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead + of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS. + 2002-06-17 Richard Henderson PR target/6922 diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 1a4aa858afdb..fc5898bdc6a4 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -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