]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix 'call8: call target out of range' xtensa ld relaxation bug
authorSterling Augustine <augustine.sterling@gmail.com>
Tue, 25 Jan 2011 21:59:13 +0000 (13:59 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 22 Sep 2014 23:41:35 +0000 (03:41 +0400)
commit331ed1307b93d3ff77d248bdf2f7b79a20851457
tree826cae7557e96829755e148e166d3af207796208
parent68f34464821105e0c74a0ce16c5d26d4c3e1d20c
Fix 'call8: call target out of range' xtensa ld relaxation bug

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-23  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.
bfd/ChangeLog
bfd/elf32-xtensa.c