5a40c0126c
Loop relaxation logic in xtensa gas may produce code in which LEND
register doesn't match actual zero overhead loop end. Fix relaxation
code so that it produces a literal or a pair of const16 instructions
with associated relocation record that works correctly in the presence
of other relaxations. This fixes crash in X11 server caused by window
movement.
Loop relaxation has limited of 32K range, this fix removes this
limitation.
Fixes:
http://autobuild.buildroot.net/results/e05522ce540f4ac23f9a3a8fec724694d9a23101/
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
[Peter: drop 2.32 patch]
(cherry picked from commit
|
||
---|---|---|
.. | ||
0001-sh-conf.patch | ||
0002-ld-makefile.patch | ||
0003-check-ldrunpath-length.patch | ||
0004-add-sysroot-fix-from-bug-3049.patch | ||
0005-poison-system-directories.patch | ||
0006-ARC-Refactored-location-where-GOT-information-is-col.patch | ||
0007-ARC-Improved-robustness.-Return-FALSE-in-case-of-NUL.patch | ||
0008-ARC-Make-sure-global-symbol-is-not-an-indirect-or-wa.patch | ||
0009-ARC-PLT-information-was-still-being-generated-when-s.patch | ||
0010-gas-use-literals-const16-for-xtensa-loop-relaxation.patch |