* 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.
This commit is contained in:
parent
c43d56f78c
commit
49fc68a13f
2 changed files with 10 additions and 7 deletions
|
@ -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.
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue