aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1993-11-02 06:38:20 +0000
committerJeff Law <law@redhat.com>1993-11-02 06:38:20 +0000
commit49fc68a13f3b6062433797ff2661f00759f24aa5 (patch)
tree66dd57957d6233df18f7dfbdbdccb7b337a827f4 /gas
parentc43d56f78c395ea7d612ecdf2fc2bd05a2e961c9 (diff)
downloadgdb-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')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-hppa.c11
2 files changed, 10 insertions, 7 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index cbc6667..f308c93 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,11 @@
Mon Nov 1 21:37:04 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
+ * 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.
+
* Add support for marker type relocations. These mark areas
of interest to the linker. ENTRY/EXIT relocations for SOM are
an example of marker relocations.
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))