This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] gas: xtensa: make trampolines relaxation work with jumps in slots other than 0


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]