mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-04-19 21:07:17 +00:00

The commit 197b5f9d1c23 ("package/binutils: fix loops relaxation in xtensa gas") changed the way loop opcodes are relaxed resulting in build failures in hand-made assembly code that has loops in sections without .literal_position pseudo op or equivalent construct. This e.g. breaks xtensa linux kernel build. Fix that by adding literal position to the beginning of every section. Fixes: 197b5f9d1c23 ("package/binutils: fix loops relaxation in xtensa gas") Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit de1d1577d727d41bf26eca46e6f4c659062aa105) [Peter: drop 2.32 patch] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>