This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Committed, read.c: Fix uninitialized member in broken_word struct.


Fixes a valgrind uninitialized-indication in the CRIS GAS test-suite.
Committed as obvious.

	* read.c (emit_expr) [!WORKING_DOT_WORD]: Initialize x->use_jump.

Index: read.c
===================================================================
RCS file: /cvs/src/src/gas/read.c,v
retrieving revision 1.55
diff -p -c -r1.55 read.c
*** read.c	31 Aug 2002 18:51:07 -0000	1.55
--- read.c	2 Dec 2002 07:11:56 -0000
*************** emit_expr (exp, nbytes)
*** 3591,3596 ****
--- 3591,3597 ----
        x->sub = exp->X_op_symbol;
        x->addnum = exp->X_add_number;
        x->added = 0;
+       x->use_jump = 0;
        new_broken_words++;
        return;
      }

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]