[PATCH] xtensa: optimize trampolines relaxation
Max Filippov
jcmvbkbc@gmail.com
Tue May 5 05:06:00 GMT 2015
On Mon, May 4, 2015 at 10:06 PM, augustine.sterling@gmail.com
<augustine.sterling@gmail.com> wrote:
> On Sat, May 2, 2015 at 6:53 AM, Max Filippov <jcmvbkbc@gmail.com> wrote:
>> 2015-05-02 Max Filippov <jcmvbkbc@gmail.com>
>> gas/
>> * config/tc-xtensa.c (cached_fixupS, fixup_cacheS): New typedefs.
>> (struct cached_fixup, struct fixup_cache): New structures.
>> (fixup_order, xtensa_make_cached_fixup),
>> (xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups),
>> (xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup),
>> (xtensa_add_cached_fixup): New functions.
>> (xtensa_relax_frag): Cache fixups pointing at potentially
>> oversized jumps at the beginning of every relaxation pass. Only
>> check subset of this cache in the reach of single jump from the
>> trampoline frag currently being relaxed.
>
> This is OK for xtensa.
Thanks! Checked in.
-- Max
More information about the Binutils
mailing list