* config/tc-hppa.c (pa_build_unwind_subspace): Zero out memory
authorJeff Law <law@redhat.com>
Mon, 19 Jun 1995 21:34:39 +0000 (21:34 +0000)
committerJeff Law <law@redhat.com>
Mon, 19 Jun 1995 21:34:39 +0000 (21:34 +0000)
from frag_more calls.

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

index 8a74c24..ca16838 100644 (file)
@@ -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
index fc8d335..ac17501 100644 (file)
@@ -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.