aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1995-06-19 21:34:39 +0000
committerJeff Law <law@redhat.com>1995-06-19 21:34:39 +0000
commit764771905a0cbd6f9a4300d09721799411c6d35c (patch)
tree2bd2b97e4d673ffb9ea44947774ec5f3475276b4 /gas
parent156285aac0a393645bcfb14c2d0d7f7b48b659df (diff)
downloadgdb-764771905a0cbd6f9a4300d09721799411c6d35c.zip
gdb-764771905a0cbd6f9a4300d09721799411c6d35c.tar.gz
gdb-764771905a0cbd6f9a4300d09721799411c6d35c.tar.bz2
* config/tc-hppa.c (pa_build_unwind_subspace): Zero out memory
from frag_more calls.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-hppa.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 8a74c24..ca16838 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jun 19 15:27:17 1995 Jeff Law (law@snake.cs.utah.edu)
+
+ * config/tc-hppa.c (pa_build_unwind_subspace): Zero out memory
+ from frag_more calls.
+
Thu Jun 15 16:53:37 1995 Stan Shebs <shebs@andros.cygnus.com>
* config/obj-coff.c: Don't use "bfd/" when including libbfd.h
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index fc8d335..ac17501 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -4100,6 +4100,7 @@ pa_build_unwind_subspace (call_info)
/* Get some space to hold relocation information for the unwind
descriptor. */
p = frag_more (4);
+ md_number_to_chars (p, 0.opcode, 4);
/* Relocation info. for start offset of the function. */
fix_new_hppa (frag_now, p - frag_now->fr_literal, 4,
@@ -4107,6 +4108,7 @@ pa_build_unwind_subspace (call_info)
(expressionS *) NULL, 0, R_PARISC_DIR32, e_fsel, 32, 0, NULL);
p = frag_more (4);
+ md_number_to_chars (p, 0.opcode, 4);
/* Relocation info. for end offset of the function.