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


2010/10/8 Richard Henderson <rth@redhat.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~
>

No, I can't use pdata for xdata section. Section containing xdata gets
mapped in pex64_dump_xdata and not in pdata-block function. This is
caused by the fact that xdata can be in separate '.xdata' section
and/or in any other rdonly section.

Regards,
Kai

-- 
|? (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination


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