This is the mail archive of the binutils@sourceware.org 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]

[PATCH] Initialize frch_cfi_data (PR gas/3607)


Hi!

I haven't noticed new frchain objects aren't cleared when created,
sorry.  Committed as obvious.

2006-12-02  Jakub Jelinek  <jakub@redhat.com>

	PR gas/3607
	* subsegs.c (subseg_set_rest): Clear frch_cfi_data field.

--- gas/subsegs.c.jj	2006-05-04 01:52:15.000000000 +0200
+++ gas/subsegs.c	2006-12-02 08:46:15.000000000 +0100
@@ -117,6 +117,7 @@ subseg_set_rest (segT seg, subsegT subse
 #endif
       newP->frch_frag_now = frag_alloc (&newP->frch_obstack);
       newP->frch_frag_now->fr_type = rs_fill;
+      newP->frch_cfi_data = NULL;
 
       newP->frch_root = newP->frch_last = newP->frch_frag_now;
 

	Jakub


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