aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-hppa.c
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/config/tc-hppa.c
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/config/tc-hppa.c')
-rw-r--r--gas/config/tc-hppa.c2
1 files changed, 2 insertions, 0 deletions
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.