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: Add -mno-renesas switch


Hi Joern, Hi Alex,

  May I have permission to apply the following SH specific patch ?  It
  simply adds a command line switch (-mno-renesas) to select the GCC
  ABI in case the Renesas ABI has been selected, either from a prior
  command line switch, or in the case of the sh-symbianelf toolchain,
  by default.

  (Not 100% sure about the switch name.  Maybe it should be: -mgcc ?)
  
Cheers
  Nick

gcc/ChangeLog
2004-08-04  Nick Clifton  <nickc@redhat.com>

	* config/sh/sh.h (TARGET_SWITCHES): Add no-renesas to select the
	GCC ABI.

Index: gcc/config/sh/sh.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sh/sh.h,v
retrieving revision 1.250
diff -c -3 -p -r1.250 sh.h
*** gcc/config/sh/sh.h	29 Jul 2004 06:10:03 -0000	1.250
--- gcc/config/sh/sh.h	4 Aug 2004 09:45:36 -0000
*************** extern int target_flags;
*** 561,566 ****
--- 561,567 ----
    {"fmovd",  	FMOVD_BIT, "" },		\
    {"hitachi",	HITACHI_BIT, "Follow Renesas (formerly Hitachi) / SuperH calling conventions" },		\
    {"renesas",	HITACHI_BIT, "Follow Renesas (formerly Hitachi) / SuperH calling conventions" },		\
+   {"no-renesas",-HITACHI_BIT,"Follow the GCC calling conventions" },	\
    {"nomacsave", NOMACSAVE_BIT, "Mark MAC register as call-clobbered" },		\
    {"ieee",  	IEEE_BIT, "Increase the IEEE compliance for floating-point code" },			\
    {"isize", 	ISIZE_BIT, "" },		\


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