[patch] Ignore relocations from .eh_frame for gc
Rafael Espíndola
rafael.espindola@gmail.com
Tue Apr 21 19:58:00 GMT 2015
Now with the new email address.
On 21 April 2015 at 15:57, Rafael Espíndola <rafael.espindola@gmail.com> wrote:
> Looking at a synthetic testcase I noticed that gold will record
> relocations from .eh_frame during gc. This doesn't change the output
> as .eh_frame never goes to the worklist, but it does slows gold down a
> bit.
>
> The attached patch changes the gc code to ignore .eh_frame. Not sure
> if it is worth it the special case. If it is, is this the correct way
> to detect .eh_frame?
>
> Cheers,
> Rafael
>
> 2015-04-21 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
>
> * gc.h (gc_process_relocs): Ignore .eh_frame sections.
More information about the Binutils
mailing list