]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
binutils: backport xtensa .init/.fini literals moving fix to 2.26
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 10 Mar 2016 04:32:44 +0000 (07:32 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 10 Mar 2016 14:11:26 +0000 (15:11 +0100)
commit3721f0f572cf192ec50ac3e016d478697fd21c28
tree48f230d615ec099483d154e4a7ebb630cd5d3773
parentcce31bca691492266d093f574a66e4f68034be3c
binutils: backport xtensa .init/.fini literals moving fix to 2.26

Despite the documentation and the comment in xtensa_move_literals, in
the presence of --text-section-literals and --auto-litpools literals are
moved from the separate literal sections into .init and .fini, because
the check in the xtensa_move_literals is incorrect.

This fixes build errors seen with projects that have .init/.fini and use
text-section-literals.

Backported from: 4111950f363221c4641dc2f33bea61cc94f34906
Reported-by: Waldemar Brodkorb <mail@waldemar-brodkorb.de>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/binutils/2.26/0903-xtensa-fix-.init-.fini-literals-moving.patch [new file with mode: 0644]