mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 10:00:51 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user