libgcc2.c/longlong.h (take 2)

Clinton Popetz cpopetz@kinslayer.cpopetz.com
Mon Dec 27 13:15:00 GMT 1999


On Fri, 17 Dec 1999 17:53:11 +0100, Jakub Jelinek <jakub@redhat.com> wrote:

>1999-12-17  Jakub Jelinek  <jakub@redhat.com>
>
>	* config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
>	UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
>	compiling libgcc2.
>	* config/mips/mips.h (TARGET_64BIT): Likewise.
>	* config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
>	* libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
>	of {SI,DI}type and DIunion.  Define these types to QI/HI modes on
>	dsps.  Give routines proper names if SI/DI modes are not used.
>	* longlong.h: Use DWunion instead of DIunion.
>
>+#ifdef IN_LIBGCC2
>+#undef TARGET_64BIT
>+/* Make this compile time constant for libgcc2 */
>+#ifdef __mips64
>+#define TARGET_64BIT		1
>+#else
>+#define TARGET_64BIT		0
>+#endif
>+#else /* IN_LIBGCC2 */


That last line should be an #endif.  Ok to apply this?

				-Clint

1999-12-27  Clinton Popetz  <cpopetz@cygnus.com>

	* config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.

Index: mips.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/mips/mips.h,v
retrieving revision 1.80
diff -c -2 -p -r1.80 mips.h
*** mips.h	1999/12/27 08:34:44	1.80
--- mips.h	1999/12/27 20:54:53
*************** extern void		sbss_section PARAMS ((void)
*** 490,494 ****
  #define TARGET_64BIT		0
  #endif
! #else /* IN_LIBGCC2 */
  
  #ifndef MULTILIB_ENDIAN_DEFAULT
--- 490,494 ----
  #define TARGET_64BIT		0
  #endif
! #endif /* IN_LIBGCC2 */
  
  #ifndef MULTILIB_ENDIAN_DEFAULT


More information about the Gcc-patches mailing list