package/binutils: fix xtensa PR ld/25861
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 23 Apr 2020 03:11:45 +0000 (20:11 -0700)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 23 Apr 2020 21:31:54 +0000 (23:31 +0200)
commitf0291ef4aba0954542000f40bbf3c67641f33011
tree50c790af2e8efada6627a6756e86bcb27fbf913d
parentcd3dc5b4fa59bdb14c3b5f1b46b9a4466982b03b
package/binutils: fix xtensa PR ld/25861

Handle link-time relaxation of full 16-bit difference values correctly
in xtensa linker. This fixes the following kind of build errors:

.../five-point.cpp:338:(.debug_line+0x3b12):
        dangerous relocation: overflow after relaxation

Backported from:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=30ce8e47fad9b057b6d7af9e1d43061126d34d20
Fixes:
http://autobuild.buildroot.net/results/67a5545779bbe8ca2b21da1f3ff2002053710ce1/
http://autobuild.buildroot.net/results/87f38998d2d60b6bce3128589973187ef9596e28/

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/binutils/2.31.1/0019-xtensa-fix-PR-ld-25861.patch [new file with mode: 0644]
package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch [new file with mode: 0644]
package/binutils/2.33.1/0005-xtensa-fix-PR-ld-25861.patch [new file with mode: 0644]