diff options
author | Jeff Law <law@redhat.com> | 1993-11-02 06:38:20 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1993-11-02 06:38:20 +0000 |
commit | 49fc68a13f3b6062433797ff2661f00759f24aa5 (patch) | |
tree | 66dd57957d6233df18f7dfbdbdccb7b337a827f4 /gas/config | |
parent | c43d56f78c395ea7d612ecdf2fc2bd05a2e961c9 (diff) | |
download | gdb-49fc68a13f3b6062433797ff2661f00759f24aa5.zip gdb-49fc68a13f3b6062433797ff2661f00759f24aa5.tar.gz gdb-49fc68a13f3b6062433797ff2661f00759f24aa5.tar.bz2 |
* config/tc-hppa.c (call_info struct): Delete unused "frame" field.
(pa_callinfo): Insert framesize into the unwind information as
soon as it's available.
(pa_build_unwind_subspace): Do not insert framesize into the unwind
information here.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-hppa.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index 7aa6e43..d1db022 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -135,9 +135,6 @@ struct unwind_table struct call_info { - /* Size of the stack frame. */ - int frame; - /* Should sr3 be saved in the prologue? */ int entry_sr; @@ -4338,9 +4335,6 @@ pa_build_unwind_subspace (call_info) } } - /* callinfo.frame is in bytes and unwind_desc is in 8 byte units. */ - call_info->ci_unwind.descriptor.frame_size = call_info->frame / 8; - /* Dump it. */ unwind = (char *) &call_info->ci_unwind; for (i = 8; i < sizeof (struct unwind_table); i++) @@ -4391,7 +4385,10 @@ pa_callinfo (unused) as_bad ("FRAME parameter must be a multiple of 8: %d\n", temp); temp = 0; } - last_call_info->frame = temp; + + /* callinfo is in bytes and unwind_desc is in 8 byte units. */ + last_call_info->ci_unwind.descriptor.frame_size = temp / 8; + } /* Entry register (GR, GR and SR) specifications. */ else if ((strncasecmp (name, "entry_gr", 8) == 0)) |