kumquat-buildroot/package/binutils/2.31.1
Max Filippov 1b887cfc69 package/binutils: fix assertion failure in xtensa ld
xtensa ld fails with the following message

  ld: BFD (GNU Binutils) 2.31.1 internal error, aborting at
  elf32-xtensa.c:3283 in elf_xtensa_finish_dynamic_sections

during domoticz package build. It happens because of mismatch between
the size allocated for dynamic relocations in the executable image and
the number of PLT relocations actually written to the image. The
mismatch is caused by the fact that undefined weak symbol is treated as
dynamic (and thus needing PLT relocation), but xtensa linker not
expecting that.

Fixes: http://autobuild.buildroot.net/results/7885705f1b1c0f31cf21b464150f5509929c1906/
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Backported from: e15a8da9c71336b06cb5f2706c3f6b7e6ddd95a3
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-03-08 17:39:37 +01:00
..
0001-sh-conf.patch
0005-poison-system-directories.patch
0006-Refactored-location-where-GOT-information-is-collect.patch
0007-Improved-robustness.-Return-FALSE-in-case-of-NULL-po.patch
0008-Make-sure-global-symbol-is-not-an-indirect-or-warnin.patch
0009-PLT-information-was-still-being-generated-when-symbo.patch
0010-xtensa-fix-relaxation-of-undefined-weak-references-i.patch
0011-xtensa-move-dynamic-relocations-sections-consistency.patch
0012-x86-Add-a-GNU_PROPERTY_X86_ISA_1_USED-note-if-needed.patch
0013-x86-Properly-merge-GNU_PROPERTY_X86_ISA_1_USED.patch
0014-x86-Properly-add-X86_ISA_1_NEEDED-property.patch
0015-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch
0016-gas-use-literals-const16-for-xtensa-loop-relaxation.patch
0017-xtensa-gas-put-.literal_position-at-section-start.patch
0018-bfd-xtensa-fix-PR-ld-25630.patch