arm: armv7: restore section to .text after saved_args
authorYang Xiwen <forbidden405@outlook.com>
Sat, 31 May 2025 13:10:02 +0000 (21:10 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 9 Jun 2025 15:18:17 +0000 (09:18 -0600)
commit03005fbe5006c4c79143fdddb453d3ec74e004f5
tree58291aa3547ae9400d8ea896a977b7d2f90e7f97
parent93905ab6e7564089f5d7b703b660464d675e5ab0
arm: armv7: restore section to .text after saved_args

when CONFIG_BLOBLIST is enabled, the section is switched to .data but is
not switched back to .text. It makes all the code below placed in .data
section, also breaks CONFIG_POSITION_INDEPENDENT.

Fix it by adding `.section .text` to switch the section back to .text.

Fixes: 5103e69344d6 ("arm: armv7: save boot arguments")
Signed-off-by: Yang Xiwen <forbidden405@outlook.com>
arch/arm/cpu/armv7/start.S