From e12a22a625431e9349715e4a4c3ff73e2c2f0edb Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 17 Jun 2002 13:21:49 -0700 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.h | 7 +++++++ 2 files changed, 12 insertions(+) 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 -- 2.47.2