package/binutils: fix XTENSA_NDIFF handling for PR ld/25861
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 30 Apr 2020 05:08:22 +0000 (22:08 -0700)
committerYann E. MORIN <yann.morin.1998@free.fr>
Fri, 1 May 2020 20:14:07 +0000 (22:14 +0200)
commitf31db17a8d3accc7367e262c326f467f7dc879a2
tree00d5f3738b7948d66287abddfc003bbe94a4c137
parente845f9364c2b81bbb6888f880bf867132ef6413f
package/binutils: fix XTENSA_NDIFF handling for PR ld/25861

Fix for xtensa PR ld/25861 introduced a regression in handling negative
symbol differences resulting in linker performing incorrect relaxation
or failing to link. Fix XTENSA_NDIFF relocation handling.

Backported from:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=d548f47df4d2e3d117d504a4c9977982c78a0556

Fixes: f0291ef4aba0 ("package/binutils: fix xtensa PR ld/25861")
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/binutils/2.31.1/0020-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch [new file with mode: 0644]
package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch [new file with mode: 0644]
package/binutils/2.33.1/0006-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch [new file with mode: 0644]