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 2/8] gas: xtensa: extract jump assembling for trampolines


On Mon, Nov 27, 2017 at 2:06 PM, augustine.sterling@gmail.com
<augustine.sterling@gmail.com> wrote:
> 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.

I guess that's partially because j.l alone is not enough, branches need the
same treatment.

-- 
Thanks.
-- Max


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