* config/tc-hppa.c (pa_build_unwind_subspace): Use sane section

flags for the unwind subspace.
This commit is contained in:
Jeff Law 1999-08-11 09:41:28 +00:00
parent 052e120f44
commit b100be6695
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
Tue Aug 10 12:58:31 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_build_unwind_subspace): Use sane section
flags for the unwind subspace.
* config/tc-hppa.c (UNWIND_SECTION_NAME): Define for ELF.
(pa_build_unwind_subspace): Remove #if 0 wrapper. Select a
suitable relocation based on the size of the target's pointer.

View File

@ -4535,7 +4535,8 @@ pa_build_unwind_subspace (call_info)
seg = bfd_make_section_old_way (stdoutput, UNWIND_SECTION_NAME);
bfd_set_section_flags (stdoutput, seg,
SEC_READONLY | SEC_HAS_CONTENTS
| SEC_LOAD | SEC_RELOC);
| SEC_LOAD | SEC_RELOC | SEC_ALLOC | SEC_DATA);
bfd_set_section_alignment (stdoutput, seg, 2);
}
save_seg = now_seg;