aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-08-11 09:41:28 +0000
committerJeff Law <law@redhat.com>1999-08-11 09:41:28 +0000
commitb100be66954be1dd02491bc9a3a7be9b0c28db97 (patch)
tree4a66d30cf88ab6463f957797158653cf3c33ff46 /gas
parent052e120f447791e4134c8939c8a152a5db6f26cb (diff)
downloadgdb-b100be66954be1dd02491bc9a3a7be9b0c28db97.zip
gdb-b100be66954be1dd02491bc9a3a7be9b0c28db97.tar.gz
gdb-b100be66954be1dd02491bc9a3a7be9b0c28db97.tar.bz2
* config/tc-hppa.c (pa_build_unwind_subspace): Use sane section
flags for the unwind subspace.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog3
-rw-r--r--gas/config/tc-hppa.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 0872e46..032163d 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index 972b32f..99914db 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -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;