This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch bfd]: Follow-up for dump of xdata SEH
- From: Richard Henderson <rth at redhat dot com>
- To: Kai Tietz <ktietz70 at googlemail dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Fri, 08 Oct 2010 08:42:08 -0700
- Subject: Re: [patch bfd]: Follow-up for dump of xdata SEH
- References: <AANLkTi=C6ttJKjeYtYiEJQ3mS35k-QBguHujzE1QdfKM@mail.gmail.com>
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~