From 49fc68a13f3b6062433797ff2661f00759f24aa5 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 2 Nov 1993 06:38:20 +0000 Subject: [PATCH] * 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. --- gas/ChangeLog | 6 ++++++ gas/config/tc-hppa.c | 11 ++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index cbc6667280..f308c93d38 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 7aa6e4397d..d1db022834 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)) -- 2.34.1