diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-04-03 17:49:08 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-04-03 17:49:08 +0000 |
commit | d0bd2d18e4af195ff03856e08bfa391140d2be74 (patch) | |
tree | 553904e9df4326366c266f8c82c10988a7da1d8e /gdb/hppa-tdep.c | |
parent | b87178c354804b7715956b01f13341ed554c67a0 (diff) | |
download | gdb-d0bd2d18e4af195ff03856e08bfa391140d2be74.zip gdb-d0bd2d18e4af195ff03856e08bfa391140d2be74.tar.gz gdb-d0bd2d18e4af195ff03856e08bfa391140d2be74.tar.bz2 |
2004-04-03 Andrew Cagney <cagney@redhat.com>
* config/pa/tm-hppa.h (REG_PARM_STACK_SPACE): Delete.
* config/pa/tm-hppa64.h (PA20W_CALLING_CONVENTIONS)
(REG_PARM_STACK_SPACE): Delete.
* hppa-tdep.c (hppa64_push_dummy_call, hppa32_push_dummy_call):
Inline reference to REG_PARM_STACK_SPACE.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r-- | gdb/hppa-tdep.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 4325071..b238d37 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -898,8 +898,7 @@ hppa32_push_dummy_call (struct gdbarch *gdbarch, CORE_ADDR func_addr, space allocations for outgoing arguments. The ABI also mandates minimum stack alignments which we must preserve. */ - param_end = struct_end + max (align_up (param_ptr, 8), - REG_PARM_STACK_SPACE); + param_end = struct_end + max (align_up (param_ptr, 8), 16); } } @@ -1022,8 +1021,7 @@ hppa64_push_dummy_call (struct gdbarch *gdbarch, CORE_ADDR func_addr, space allocations for outgoing arguments. The ABI also mandates minimum stack alignments which we must preserve. */ - param_end = struct_end + max (align_up (param_ptr, 16), - REG_PARM_STACK_SPACE); + param_end = struct_end + max (align_up (param_ptr, 16), 64); } } |