summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-04-28 23:57:50 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-04-28 23:57:50 +0000
commit3a84c370cab6160e7286708ebf0a8a171e6c4d83 (patch)
tree011bcd16f61f1c53477e107440888140da079026
parent67e3326bb9b129f1c6b1cd56635677a8576d0a2c (diff)
bzero() output before invoking bignum_copy().
-rw-r--r--gnu/usr.bin/gas/config/tc-vax.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/gas/config/tc-vax.c b/gnu/usr.bin/gas/config/tc-vax.c
index fd2008e9b8c..cbb787d9663 100644
--- a/gnu/usr.bin/gas/config/tc-vax.c
+++ b/gnu/usr.bin/gas/config/tc-vax.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tc-vax.c,v 1.3 2002/08/09 19:07:53 miod Exp $ */
+/* $OpenBSD: tc-vax.c,v 1.4 2005/04/28 23:57:49 miod Exp $ */
/* tc-vax.c - vax-specific -
Copyright (C) 1987, 1991, 1992 Free Software Foundation, Inc.
@@ -453,6 +453,7 @@ char *instruction_string; /* A string: assemble 1 instruction. */
case SEG_BIG:
/* Preserve the bits. */
if (expP->X_add_number > 0) {
+ bzero(floatP->low, SIZE_OF_LARGE_NUMBER);
bignum_copy(generic_bignum, expP->X_add_number,
floatP->low, SIZE_OF_LARGE_NUMBER);
} else {