2004-05-05 Andrew Cagney <cagney@redhat.com>

* gdbarch.sh (PARM_BOUNDARY): Delete.
	gdbarch.h, gdbarch.c: Re-generate.
	* valops.c (PARM_BOUNDARY): Delete macro.
	(value_push): Delete PARM_BOUNDARY code.
	* m68k-tdep.c (m68k_gdbarch_init): Do not set parm_boundary.
This commit is contained in:
Andrew Cagney
2004-05-05 15:42:53 +00:00
parent 06fc8a8ce6
commit 10a4b11321
6 changed files with 8 additions and 46 deletions

View File

@@ -1005,10 +1005,6 @@ push_bytes (CORE_ADDR sp, char *buffer, int len)
return sp;
}
#ifndef PARM_BOUNDARY
#define PARM_BOUNDARY (0)
#endif
/* Push onto the stack the specified value VALUE. Pad it correctly for
it to be an argument to a function. */
@@ -1019,11 +1015,6 @@ value_push (CORE_ADDR sp, struct value *arg)
int container_len = len;
int offset;
/* How big is the container we're going to put this value in? */
if (PARM_BOUNDARY)
container_len = ((len + PARM_BOUNDARY / TARGET_CHAR_BIT - 1)
& ~(PARM_BOUNDARY / TARGET_CHAR_BIT - 1));
/* Are we going to put it at the high or low end of the container? */
if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
offset = container_len - len;