* config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create
the unwinder subspace. Save the current seg/subseg before creating the new seg/subseg.
This commit is contained in:
parent
fa292f2358
commit
c97305a1da
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
Fri Feb 11 14:21:51 2000 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create
|
||||
the unwinder subspace. Save the current seg/subseg before creating
|
||||
the new seg/subseg.
|
||||
|
||||
2000-02-10 Nick Clifton <nickc@cygnus.com>
|
||||
|
||||
* config/tc-mcore.c (INST_BYTE0): Redefine to handle big and
|
||||
|
|
|
@ -6001,21 +6001,21 @@ pa_build_unwind_subspace (call_info)
|
|||
else
|
||||
reloc = R_PARISC_SEGREL32;
|
||||
|
||||
save_seg = now_seg;
|
||||
save_subseg = now_subseg;
|
||||
/* Get into the right seg/subseg. This may involve creating
|
||||
the seg the first time through. Make sure to have the
|
||||
old seg/subseg so that we can reset things when we are done. */
|
||||
seg = bfd_get_section_by_name (stdoutput, UNWIND_SECTION_NAME);
|
||||
if (seg == ASEC_NULL)
|
||||
{
|
||||
seg = bfd_make_section_old_way (stdoutput, UNWIND_SECTION_NAME);
|
||||
seg = subseg_new (UNWIND_SECTION_NAME, 0);
|
||||
bfd_set_section_flags (stdoutput, seg,
|
||||
SEC_READONLY | SEC_HAS_CONTENTS
|
||||
| SEC_LOAD | SEC_RELOC | SEC_ALLOC | SEC_DATA);
|
||||
bfd_set_section_alignment (stdoutput, seg, 2);
|
||||
}
|
||||
|
||||
save_seg = now_seg;
|
||||
save_subseg = now_subseg;
|
||||
subseg_set (seg, 0);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue