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]

[PATCH]: mips_n32n64_push_arguments: adjust alignment to ABI


2002-09-04  Michael Snyder  <msnyder@redhat.com>

	* mips-tdep.c (mips_n32n64_push_arguments): Remove alignment
	adjustment that doesn't conform to the ABI.

Index: mips-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mips-tdep.c,v
retrieving revision 1.119
diff -p -r1.119 mips-tdep.c
*** mips-tdep.c	24 Aug 2002 00:21:35 -0000	1.119
--- mips-tdep.c	5 Sep 2002 01:29:15 -0000
*************** mips_n32n64_push_arguments (int nargs,
*** 2955,2964 ****
  			   typecode == TYPE_CODE_PTR ||
  			   typecode == TYPE_CODE_FLT) && len <= 4)
  			longword_offset = MIPS_STACK_ARGSIZE - len;
- 		      else if ((typecode == TYPE_CODE_STRUCT ||
- 				typecode == TYPE_CODE_UNION) &&
- 			       TYPE_LENGTH (arg_type) < MIPS_STACK_ARGSIZE)
- 			longword_offset = MIPS_STACK_ARGSIZE - len;
  		    }
  
  		  if (mips_debug)
--- 2955,2960 ----


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