[PATCH 2/8] gas: xtensa: extract jump assembling for trampolines

augustine.sterling@gmail.com augustine.sterling@gmail.com
Mon Nov 27 22:06:00 GMT 2017


On Mon, Nov 27, 2017 at 11:39 AM, Max Filippov <jcmvbkbc@gmail.com> wrote:
> init_trampoline_frag, add_jump_to_trampoline and xg_relax_trampoline add
> a jump to the end of a trampoline frag. Extract it into a separate
> funciton and use it in all these places. No functional changes.
>
> gas/
> 2017-11-20  Max Filippov  <jcmvbkbc@gmail.com>
>
>         * config/tc-xtensa.c (xg_append_jump): New function.
>         (xg_relax_trampoline, init_trampoline_frag)
>         (add_jump_to_trampoline): Replace trampoline jump assembling
>         code with a call to xg_append_jump.

I'm not in a good position to test these, but they do seem fine.

I'm a little disappointed the j.l pseudo op never got traction, but oh well.



More information about the Binutils mailing list