[PATCH] gas: xtensa: make trampolines relaxation work with jumps in slots other than 0
augustine.sterling@gmail.com
augustine.sterling@gmail.com
Wed Mar 22 17:30:00 GMT 2017
On Wed, Mar 22, 2017 at 10:27 AM, Max Filippov <jcmvbkbc@gmail.com> wrote:
> gas/
> 2017-03-22 Max Filippov <jcmvbkbc@gmail.com>
>
> * config/tc-xtensa.c (xtensa_relax_frag): Change fx_size of the
> reassigned fixup to size of jump instruction (3) and fx_r_type
> to BFD_RELOC_XTENSA_SLOT0_OP, as there's only one slot.
> (add_jump_to_trampoline): Search
> origfrag->tc_frag_data.slot_symbols for the slot with non-NULL
> symbol and use that slot instead of slot 0.
Approved. Please apply.
More information about the Binutils
mailing list