mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 20:56:12 +02:00
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>
This commit is contained in:
parent
93905ab6e7
commit
03005fbe50
@ -182,6 +182,8 @@ saved_args:
|
||||
.word 0
|
||||
.endr
|
||||
END(saved_args)
|
||||
|
||||
.section .text
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ARMV7_LPAE
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user