kumquat-buildroot/package/binutils/2.25
Max Filippov af863a3bc0 binutils: fix xtensa gas trampolines regression
xtensa trampolines relaxation optimization caused the following build
errors:
  Error: operand 1 of 'j' has out of range value '131643'
  Error: operand 1 of 'j' has out of range value '4294836162'
  Error: operand 1 of 'j' has out of range value '4294836072'

Extra condition 'abs (addr - trampaddr) < J_RANGE / 2' for trampoline
selection results in regressions: when relaxable jump is little longer
than J_RANGE so that single trampoline makes two new jumps, one longer
than J_RANGE / 2 and one shorter, correct trampoline cannot be found.

Drop that condition.

Upstream status: patch submitted.
Fix squashed into the optimization patch.
Fixes:
  http://autobuild.buildroot.net/results/5ba7d18262ce6a2dfd69db07d064a971267f1128/

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-05-10 23:08:54 +02:00
..
120-sh-conf.patch
300-001_ld_makefile_patch.patch
300-012_check_ldrunpath_length.patch
500-sysroot.patch
600-poison-system-directories.patch
905-Fix-trampolines-search-code-for-conditional-branches.patch
906-xtensa-optimize-check_section_ebb_pcrels_fit.patch
907-xtensa-optimize-removed_by_actions.patch
908-xtensa-optimize-find_removed_literal.patch
909-xtensa-replace-action-list-with-splay-tree.patch
910-xtensa-optimize-trampolines-relaxation.patch binutils: fix xtensa gas trampolines regression 2015-05-10 23:08:54 +02:00