* hppa-tdep.c (hppa_push_arguments): Allocate enough space for
arguments.
This commit is contained in:
parent
270532f9a4
commit
558f4183fb
|
@ -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)
|
||||
|
|
|
@ -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]),
|
||||
|
|
Loading…
Reference in New Issue