[PATCH] Fix 'call8: call target out of range' xtensa ld relaxation bug

Max Filippov jcmvbkbc@gmail.com
Mon Sep 22 23:43:00 GMT 2014


On Mon, Sep 22, 2014 at 9:21 PM, augustine.sterling@gmail.com
<augustine.sterling@gmail.com> wrote:
> On Sat, Sep 20, 2014 at 7:06 PM, Max Filippov <jcmvbkbc@gmail.com> wrote:
>> From: Sterling Augustine <augustine.sterling@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@gmail.com>
>>
>> bfd/
>>   * 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
>>   call.
>
> This is OK for xtensa.

Thanks, checked in.

-- Max



More information about the Binutils mailing list