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]

Re: PATCH for invoke.texi MIPS switches


>>>>> "Jim" == Jim Wilson <wilson@cygnus.com> writes:

    Jim> I just never got around to it.  If you want to submit a patch
    Jim> that deletes them, that would be great.

OK, how about this?

-- 
Mark Mitchell 			mark@markmitchell.com
Mark Mitchell Consulting	http://www.markmitchell.com

Tue Jun  9 13:04:22 1998  Mark Mitchell  <mark@markmitchell.com>

	* mips/mips.c: Remove -mabi=o32 and -mabi=n64.

Index: mips.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/mips/mips.c,v
retrieving revision 1.34
diff -c -p -r1.34 mips.c
*** mips.c	1998/06/08 18:30:24	1.34
--- mips.c	1998/06/09 20:02:15
*************** int mips_abi;
*** 208,214 ****
  /* Strings to hold which cpu and instruction set architecture to use.  */
  char *mips_cpu_string;		/* for -mcpu=<xxx> */
  char *mips_isa_string;		/* for -mips{1,2,3,4} */
! char *mips_abi_string;		/* for -mabi={o32,32,n32,n64,64,eabi} */
  
  /* Whether we are generating mips16 code.  This is a synonym for
     TARGET_MIPS16, and exists for use as an attribute.  */
--- 208,214 ----
  /* Strings to hold which cpu and instruction set architecture to use.  */
  char *mips_cpu_string;		/* for -mcpu=<xxx> */
  char *mips_isa_string;		/* for -mips{1,2,3,4} */
! char *mips_abi_string;		/* for -mabi={32,n32,64,eabi} */
  
  /* Whether we are generating mips16 code.  This is a synonym for
     TARGET_MIPS16, and exists for use as an attribute.  */
*************** override_options ()
*** 4028,4040 ****
    /* Get the ABI to use.  Currently this code is only used for Irix 6.  */
    if (mips_abi_string == (char *) 0)
      mips_abi = MIPS_ABI_DEFAULT;
!   else if (! strcmp (mips_abi_string, "32")
! 	   || ! strcmp (mips_abi_string, "o32"))
      mips_abi = ABI_32;
    else if (! strcmp (mips_abi_string, "n32"))
      mips_abi = ABI_N32;
!   else if (! strcmp (mips_abi_string, "64")
! 	   || ! strcmp (mips_abi_string, "n64"))
      mips_abi = ABI_64;
    else if (! strcmp (mips_abi_string, "eabi"))
      mips_abi = ABI_EABI;
--- 4028,4038 ----
    /* Get the ABI to use.  Currently this code is only used for Irix 6.  */
    if (mips_abi_string == (char *) 0)
      mips_abi = MIPS_ABI_DEFAULT;
!   else if (! strcmp (mips_abi_string, "32"))
      mips_abi = ABI_32;
    else if (! strcmp (mips_abi_string, "n32"))
      mips_abi = ABI_N32;
!   else if (! strcmp (mips_abi_string, "64"))
      mips_abi = ABI_64;
    else if (! strcmp (mips_abi_string, "eabi"))
      mips_abi = ABI_EABI;


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