diff options
author | Sterling Augustine <augustine.sterling@gmail.com> | 2011-01-25 13:59:13 -0800 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2014-09-23 03:41:35 +0400 |
commit | 331ed1307b93d3ff77d248bdf2f7b79a20851457 (patch) | |
tree | 826cae7557e96829755e148e166d3af207796208 /bfd/ChangeLog | |
parent | 68f34464821105e0c74a0ce16c5d26d4c3e1d20c (diff) | |
download | gdb-331ed1307b93d3ff77d248bdf2f7b79a20851457.zip gdb-331ed1307b93d3ff77d248bdf2f7b79a20851457.tar.gz gdb-331ed1307b93d3ff77d248bdf2f7b79a20851457.tar.bz2 |
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.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 2fc0e1e..d8559ea 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2014-09-23 Sterling Augustine <augustine.sterling@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 + call. + 2014-09-22 Alan Modra <amodra@gmail.com> * elf-eh-frame.c (_bfd_elf_write_section_eh_frame_hdr): Don't return |