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][gold] Fix pr18327


On Mon, Apr 27, 2015 at 9:12 AM, Rafael EspÃndola
<rafael.espindola@gmail.com> wrote:
> The difference in behavior introduced in
> 67f95b96b4d5e8e19520d94bebae92db2f67af74 was that
> Output_section::find_merge_section started returning non-null for
> eh_frame sections. The old "lookup_maps_->find_merge_section" would
> only include SHF_MERGE sections.
>
> Finding the output section is a good thing, but the patch also handled
> a given offset not being mapped in that section incorrectly.
>
> This patch just fixes Output_section::is_input_address_mapped.
>
> Cheers,
> Rafael
>
> 2015-04-27  Rafael Ãvila de EspÃndola <rafael.espindola@gmail.com>
>
> * output.cc (Output_section::is_input_address_mapped): Assume a missing
> entry is mapped.
> * Makefile.am: Add the eh_test test.
> * Makefile.in: Regenerate.

Did you forget eh_test_a.cc and eh_test_b.cc?

-- 
H.J.


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