[Linux-Xtensa] [PATCH] Fix 'call8: call target out of range' xtensa ld relaxation bug
jcmvbkbc at gmail.com
Mon Sep 22 23:42:57 UTC 2014
On Mon, Sep 22, 2014 at 9:21 PM, augustine.sterling at gmail.com
<augustine.sterling at gmail.com> wrote:
> On Sat, Sep 20, 2014 at 7:06 PM, Max Filippov <jcmvbkbc at gmail.com> wrote:
>> From: Sterling Augustine <augustine.sterling at gmail.com>
>> During link-time relaxation distance between cross-section call site and
>> its target may grow, producing 'call target out of range' error for
>> relaxed calls. Be more conservative when calculating whether or not a
>> callx can be converted to a straight call.
>> 2014-09-21 Sterling Augustine <augustine.sterling at gmail.com>
>> * elf32-xtensa.c (is_resolvable_asm_expansion): for cross-section
>> call relaxation use furthermost addresses where call source and
>> destination can be to check whether it's in the range of a direct
> This is OK for xtensa.
Thanks, checked in.
More information about the linux-xtensa