[PATCH 8/8] gas: xtensa: speed up find_trampoline_seg
augustine.sterling@gmail.com
augustine.sterling@gmail.com
Mon Nov 27 22:11:00 GMT 2017
On Mon, Nov 27, 2017 at 11:39 AM, Max Filippov <jcmvbkbc@gmail.com> wrote:
> find_trampoline_seg takes noticeable time when assembling source with
> many sections. Cache the result of the most recent search and check it
> first. No functional changes.
>
> gas/
> 2017-11-20 Max Filippov <jcmvbkbc@gmail.com>
>
> * config/tc-xtensa.c (find_trampoline_seg): Add static variable
> that caches the result of the most recent search.
This is OK.
More information about the Binutils
mailing list