diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 84c5af1ff2e..1079577c056 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-02-23 Zack Weinberg + + * config/i386/i386.h: If IN_TARGET_LIBS is defined, make + BIGGEST_FIELD_ALIGNMENT a constant. + 2000-02-21 Jason Merrill * dwarf2out.c (output_line_info): Put the marker for the end of diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index e8ae4d901ea..3965878b923 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -469,10 +469,15 @@ extern int ix86_arch; #define BIGGEST_ALIGNMENT 128 /* The published ABIs say that doubles should be aligned on word - boundaries, so lower the aligmnet for structure fields unless - -malign_double is set. */ - + boundaries, so lower the aligment for structure fields unless + -malign-double is set. */ +/* BIGGEST_FIELD_ALIGNMENT is also used in libobjc, where it must be + constant. Use the smaller value in that context. */ +#ifndef IN_TARGET_LIBS #define BIGGEST_FIELD_ALIGNMENT (TARGET_ALIGN_DOUBLE ? 64 : 32) +#else +#define BIGGEST_FIELD_ALIGNMENT 32 +#endif /* If defined, a C expression to compute the alignment given to a constant that is being placed in memory. CONSTANT is the constant diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index 8ded8934041..415102f5ab0 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,7 @@ +2000-02-23 Zack Weinberg + + * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS. + Thu Sep 23 07:19:12 1999 Chris Ball * thr-posix.c (__objc_mutex_deallocate): made deallocate work. diff --git a/libobjc/Makefile.in b/libobjc/Makefile.in index ca846c7d793..e7833619e4e 100644 --- a/libobjc/Makefile.in +++ b/libobjc/Makefile.in @@ -60,7 +60,8 @@ RANLIB = @RANLIB@ CC = @CC@ CFLAGS = @CFLAGS@ -ALL_CFLAGS = -I. -I$(srcdir) $(CPPFLAGS) $(DEFS) $(CFLAGS) -DIN_GCC +ALL_CFLAGS = -I. -I$(srcdir) $(CPPFLAGS) $(DEFS) $(CFLAGS) \ + -DIN_GCC -DIN_TARGET_LIBS # # Define the cc1obj in terms of the CC that is passed on from higher