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] Fix 'call8: call target out of range' xtensa ld relaxation bug


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.


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