[PATCH] Initialize frch_cfi_data (PR gas/3607)
Jakub Jelinek
jakub@redhat.com
Sat Dec 2 08:24:00 GMT 2006
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
More information about the Binutils
mailing list