Max Filippov | 23 Mar 23:09 2014
Picon

[PATCH] binutils: backport gas xtensa jump trampolines

This fixes compilation of huge source files that have jumps with offsets
greater than 128 Kbytes, that otherwise fails with such messages:

  {standard input}:65267: Error: operand 1 of 'j' has out of range value '131089'
  {standard input}:106879: Error: operand 1 of 'j' has out of range value '4294833951'

Fixes:
  http://autobuild.buildroot.net/results/e45/e450d5efc7435035c956bb962d598837648f319d/

Backported from: a82c7d9030b67a6a76a5403d0e1641f9e42141ac
Signed-off-by: Max Filippov <jcmvbkbc-Re5JQEeQqe8AvxtiuMwx3w <at> public.gmane.org>
---
 package/binutils/2.22/900-xtensa-trampolines.patch | 977 +++++++++++++++++++++
 .../binutils/2.23.1/900-xtensa-trampolines.patch   | 977 +++++++++++++++++++++
 .../binutils/2.23.2/900-xtensa-trampolines.patch   | 977 +++++++++++++++++++++
 package/binutils/2.24/900-xtensa-trampolines.patch | 977 +++++++++++++++++++++
 4 files changed, 3908 insertions(+)
 create mode 100644 package/binutils/2.22/900-xtensa-trampolines.patch
 create mode 100644 package/binutils/2.23.1/900-xtensa-trampolines.patch
 create mode 100644 package/binutils/2.23.2/900-xtensa-trampolines.patch
 create mode 100644 package/binutils/2.24/900-xtensa-trampolines.patch

diff --git a/package/binutils/2.22/900-xtensa-trampolines.patch b/package/binutils/2.22/900-xtensa-trampolines.patch
new file mode 100644
index 0000000..824cf44
--- /dev/null
+++ b/package/binutils/2.22/900-xtensa-trampolines.patch
 <at>  <at>  -0,0 +1,977  <at>  <at> 
+From a82c7d9030b67a6a76a5403d0e1641f9e42141ac Mon Sep 17 00:00:00 2001
+From: David Weatherford <weath-vna1KIf7WgpBDgjK7y7TUQ <at> public.gmane.org>
(Continue reading)

Thomas Petazzoni | 3 Apr 21:39 2014

Re: [PATCH] binutils: backport gas xtensa jump trampolines

Dear Max Filippov,

On Mon, 24 Mar 2014 02:09:32 +0400, Max Filippov wrote:
> This fixes compilation of huge source files that have jumps with offsets
> greater than 128 Kbytes, that otherwise fails with such messages:
> 
>   {standard input}:65267: Error: operand 1 of 'j' has out of range value '131089'
>   {standard input}:106879: Error: operand 1 of 'j' has out of range value '4294833951'
> 
> Fixes:
>   http://autobuild.buildroot.net/results/e45/e450d5efc7435035c956bb962d598837648f319d/
> 
> Backported from: a82c7d9030b67a6a76a5403d0e1641f9e42141ac
> Signed-off-by: Max Filippov <jcmvbkbc@...>

Applied, thanks.

Thomas
--

-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

Gmane