This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] bfd: xtensa: fix callx relaxation
- 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, Eric Tsai <erictsai at cadence dot com>, linux-xtensa at linux-xtensa dot org
- Date: Tue, 19 Feb 2019 22:54:37 -0800
- Subject: Re: [PATCH] bfd: xtensa: fix callx relaxation
- References: <20190220035011.2070-1-jcmvbkbc@gmail.com>
On Tue, Feb 19, 2019 at 7:50 PM Max Filippov <jcmvbkbc@gmail.com> wrote:
> 2019-02-19 Eric Tsai <erictsai@cadence.com>
> bfd/
> * elf32-xtensa.c (is_resolvable_asm_expansion): Scan output
> sections between the call site and call destination and adjust
> call distance by the largest alignment.
>
> ld/
> * testsuite/ld-xtensa/call_overflow.d: New test definition.
> * testsuite/ld-xtensa/call_overflow1.s: New test source.
> * testsuite/ld-xtensa/call_overflow2.s: New test source.
> * testsuite/ld-xtensa/call_overflow3.s: New test source.
> * testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
approved