* config/tc-hppa.c (pa_build_unwind_subspace): Use sane section
authorJeff Law <law@redhat.com>
Wed, 11 Aug 1999 09:41:28 +0000 (09:41 +0000)
committerJeff Law <law@redhat.com>
Wed, 11 Aug 1999 09:41:28 +0000 (09:41 +0000)
        flags for the unwind subspace.

gas/ChangeLog
gas/config/tc-hppa.c

index 0872e46188a26bb63821d4c8b5244a2d1b792ed6..032163df332e0b9429c9be2e5f4d95ca523ef3cc 100644 (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.
index 972b32ff0a5d1c59efb90f1ed062baedc8e0f153..99914db7dcd0fa5351696e05c36af061dbba31b9 100644 (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;