kumquat-buildroot/package/binutils/2.24
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
..
001-fix-enable-install-libiberty-flag.patch
002-dont-segv-on-initial-instructions-overflow.patch binutils: add patch to fix AArch64 glibc build issue 2014-05-16 09:55:21 +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 binutils/2.24: add patch to warn about unsafe library paths 2014-12-11 00:05:52 +01:00
900-xtensa-trampolines.patch
901-xtensa-gas-first-frag-alignment.patch
902-xtensa-gas-ld-diff-relocation-signed.patch
903-xtensa-fix-ld-segfault-when-linking-linux-modules.patch binutils: fix xtensa ld segfault on linking linux modules 2014-07-12 14:34:05 +02:00
904-Fix-call8-call-target-out-of-range-xtensa-ld-relaxation.patch binutils: fix 'call8: call target out of range' xtensa ld bug 2014-09-23 21:56:46 +02:00
905-Fix-trampolines-search-code-for-conditional-branches.patch binutils: fix xtensa trampolines search code for conditional branches 2014-11-26 14:48:25 +01:00
906-xtensa-optimize-check_section_ebb_pcrels_fit.patch binutils: backport xtensa ld optimizations 2015-04-09 21:52:36 +02:00
907-xtensa-optimize-removed_by_actions.patch binutils: backport xtensa ld optimizations 2015-04-09 21:52:36 +02:00
908-xtensa-optimize-find_removed_literal.patch binutils: backport xtensa ld optimizations 2015-04-09 21:52:36 +02:00
909-xtensa-replace-action-list-with-splay-tree.patch binutils: backport xtensa ld optimizations 2015-04-09 21:52:36 +02:00
910-xtensa-optimize-trampolines-relaxation.patch binutils: fix xtensa gas trampolines regression 2015-05-10 23:08:54 +02:00