package/binutils: fix xtensa linker relaxation regression in 2.31.1
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 23 Jul 2018 19:37:53 +0000 (12:37 -0700)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 25 Jul 2018 20:57:05 +0000 (22:57 +0200)
commitba45631108f8cf234afbb329a44c62e68ac8ef4d
tree1aa4b6ff324d9cbc3cb0ea43682f1c92ca9fc19f
parentf0a0ace4212597307c21e058f7f40eee4a3d71a4
package/binutils: fix xtensa linker relaxation regression in 2.31.1

Fix the following xtensa ld error observed when building uClibc-ng
libthread_db with binutils-2.31:

  BFD (GNU Binutils) 2.31 internal error, aborting at
  elf32-xtensa.c:3269 in elf_xtensa_finish_dynamic_sections

Fixes: https://gitlab.com/free-electrons/toolchains-builder/-/jobs/82264912
Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/binutils/2.31.1/0010-xtensa-fix-relaxation-of-undefined-weak-references-i.patch [new file with mode: 0644]
package/binutils/2.31.1/0011-xtensa-move-dynamic-relocations-sections-consistency.patch [new file with mode: 0644]