This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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]

Re: [RFA] passing float arguments on SH


Michael Snyder wrote:

The sh4 passes floating point arguments in FP registers.

Elena, let me withdraw this patch -- I've got one that supercedes it.


------------------------------------------------------------------------

2003-07-30 Michael Snyder <msnyder@redhat.com>

	* sh-tdep.h (struct gdbarch_tdep): New member FLOAT_ARGLAST_REG.
	* sh-tdep.c (sh_gdbarch_init): For sh4, set FLOAT_ARG0_REGNUM
	and FLOAT_ARGLAST_REGNUM, to be used for argument passing.
	(sh_push_dummy_call): Use the above to pass floating point
	arguments in floating point registers when called for.

Index: sh-tdep.c





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