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]

RFA: Fix rs6000/eabispe.h to use the new rs6000_explicit_optionsstructure


Hi Aldy, Hi Dave,

  May I have permission to apply the patch below please ?

  It fixes a build time failure for the powerpc-eabispe port which was
  due to the fact that the definition of SUBTARGET_OVERRIDE_OPTIONS in
  the gcc/config/rs6000/eabispe.h header file had not been updated to
  make use of the new rs6000_explicit_options structure.

  Tested by rebuilding a powerpc-eabispe toolchain.
  
Cheers
  Nick

gcc/ChangeLog
2005-05-18  Nick Clifton  <nickc@redhat.com>

	* config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): 

Index: gcc/config/rs6000/eabispe.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/eabispe.h,v
retrieving revision 1.7
diff -c -3 -p -r1.7 eabispe.h
*** gcc/config/rs6000/eabispe.h	14 Oct 2004 19:49:32 -0000	1.7
--- gcc/config/rs6000/eabispe.h	18 May 2005 17:31:14 -0000
***************
*** 30,45 ****
  #define SUBSUBTARGET_OVERRIDE_OPTIONS \
    if (rs6000_select[1].string == NULL) \
      rs6000_cpu = PROCESSOR_PPC8540; \
!   if (rs6000_abi_string == NULL) \
      rs6000_spe_abi = 1; \
!   if (rs6000_float_gprs_string == NULL) \
      rs6000_float_gprs = 1; \
    /* See note below.  */ \
!   /*if (rs6000_long_double_size_string == NULL)*/ \
    /*  rs6000_long_double_type_size = 128;*/ \
!   if (rs6000_spe_string == NULL) \
      rs6000_spe = 1; \
!   if (rs6000_isel_string == NULL) \
      rs6000_isel = 1; \
    if (target_flags & MASK_64BIT) \
      error ("-m64 not supported in this configuration")
--- 30,45 ----
  #define SUBSUBTARGET_OVERRIDE_OPTIONS \
    if (rs6000_select[1].string == NULL) \
      rs6000_cpu = PROCESSOR_PPC8540; \
!   if (!rs6000_explicit_options.abi) \
      rs6000_spe_abi = 1; \
!   if (!rs6000_explicit_options.float_gprs) \
      rs6000_float_gprs = 1; \
    /* See note below.  */ \
!   /*if (!rs6000_explicit_options.long_double)*/ \
    /*  rs6000_long_double_type_size = 128;*/ \
!   if (!rs6000_explicit_options.spe) \
      rs6000_spe = 1; \
!   if (!rs6000_explicit_options.isel) \
      rs6000_isel = 1; \
    if (target_flags & MASK_64BIT) \
      error ("-m64 not supported in this configuration")

  


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