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]

Re: [patch bfd]: Follow-up for dump of xdata SEH


Actually, one other thing:

> +  /* Add end of list marker.  */
> +  xdata_arr[xdata_arr_cnt++] = ~((bfd_vma) 0);
> +

A wiser choice of end marker, namely 

> +    end_addr = (section->rawsize != 0 ? section->rawsize : section->size);

means that you can eliminate the endx == NULL case entirely.


r~


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