This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Initialize frch_cfi_data (PR gas/3607)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: Sat, 2 Dec 2006 09:24:16 +0100
- Subject: [PATCH] Initialize frch_cfi_data (PR gas/3607)
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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