This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 3/8] gas: xtensa: reuse find_trampoline_seg
- From: "augustine dot sterling at gmail dot com" <augustine dot sterling at gmail dot com>
- To: Max Filippov <jcmvbkbc at gmail dot com>
- Cc: binutils at sourceware dot org, "linux-xtensa at linux-xtensa dot org" <linux-xtensa at linux-xtensa dot org>
- Date: Mon, 27 Nov 2017 14:07:49 -0800
- Subject: Re: [PATCH 3/8] gas: xtensa: reuse find_trampoline_seg
- Authentication-results: sourceware.org; auth=none
- References: <1511811574-11128-1-git-send-email-jcmvbkbc@gmail.com> <1511811574-11128-4-git-send-email-jcmvbkbc@gmail.com>
On Mon, Nov 27, 2017 at 11:39 AM, Max Filippov <jcmvbkbc@gmail.com> wrote:
> xtensa_create_trampoline_frag has opencoded fragment equivalent to
> find_trampoline_seg. Drop the fragment and use find_trampoline_seg
> instead. No functional changes.
>
> gas/
> 2017-11-20 Max Filippov <jcmvbkbc@gmail.com>
>
> * config/tc-xtensa.c (find_trampoline_seg): Move above the first
> use.
> (xtensa_create_trampoline_frag): Replace trampoline seg search
> code with a call to find_trampoline_seg.
This is fine.