This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix ada bootstrap on x86-64/mainline


Hi,
We do not build 64bit libgcc because MIN_UNITS_PER_WORD is set
incorrectly.  I got patch for this some time ago but apparenly forgot to
apply it.  I am installing this as obivous.

Wed Nov  6 22:18:12 PST 2002  Jan Hubicka  <jh@suse.cz>
	* i386.h (MIN_UNITS_PER_WORD): Define to 8 for x86-64 libgcc.
Index: i386.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/i386/i386.h,v
retrieving revision 1.280.2.3
diff -c -3 -p -r1.280.2.3 i386.h
*** i386.h	30 Oct 2002 22:09:18 -0000	1.280.2.3
--- i386.h	7 Nov 2002 13:21:52 -0000
*************** extern int x86_prefetch_sse;
*** 700,706 ****
  
  /* Width of a word, in units (bytes).  */
  #define UNITS_PER_WORD (TARGET_64BIT ? 8 : 4)
! #define MIN_UNITS_PER_WORD 4
  
  /* Allocation boundary (in *bits*) for storing arguments in argument list.  */
  #define PARM_BOUNDARY BITS_PER_WORD
--- 700,710 ----
  
  /* Width of a word, in units (bytes).  */
  #define UNITS_PER_WORD (TARGET_64BIT ? 8 : 4)
! #ifdef IN_LIBGCC2
! #define MIN_UNITS_PER_WORD	(TARGET_64BIT ? 8 : 4)
! #else
! #define MIN_UNITS_PER_WORD	4
! #endif
  
  /* Allocation boundary (in *bits*) for storing arguments in argument list.  */
  #define PARM_BOUNDARY BITS_PER_WORD


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]