* hppa-tdep.c (hppa_push_arguments): Allocate enough space for

arguments.
This commit is contained in:
Jim Kingdon 1993-07-08 20:06:19 +00:00
parent 270532f9a4
commit 558f4183fb
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
Thu Jul 8 14:48:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* hppa-tdep.c (hppa_push_arguments): Allocate enough space for
arguments.
* hppa-tdep.c: Change _initialize_hppab_tdep to _initialize_hppa_tdep.
Thu Jul 8 08:22:05 1993 Doug Evans (dje@canuck.cygnus.com)

View File

@ -692,7 +692,7 @@ hppa_push_arguments (nargs, args, sp, struct_return, struct_addr)
cum = (cum + alignment) & -alignment;
offset[i] = -cum;
}
sp += min ((cum + 7) & -8, 16);
sp += max ((cum + 7) & -8, 16);
for (i = 0; i < nargs; i++)
write_memory (sp + offset[i], VALUE_CONTENTS (args[i]),