On 03/28/2011 10:34 AM, Jakub Jelinek wrote:
So perhaps if (fde->dw_fde_second_begin&& fde->dw_fde_switch_cfi == NULL) { /* If the first partition contained no CFI adjustments, the CIE opcodes apply to the whole first partition. */ *list_tail = new_loc_list (build_cfa_loc (&last_cfa, offset), fde->dw_fde_begin, fde->dw_fde_end, section); list_tail =&(*list_tail)->dw_loc_next; start_label = last_label = fde->dw_fde_second_begin; } instead and put this right before the for cycle (so that last_cfa is already computed).
Sounds good. Jason