Commit 766081b
committed
[nrf fromtree] boot/zephyr/main: fix placement of pointer to arm vector
pointer to the image ARM vector table should be placed out of
stack which is being reconfigured before vt is used for branch
to the application. This caused transient boot failure when
CONFIG_LTO=y.
Moved vt to static data scope.
Signed-off-by: Andrzej Puzdrowski <[email protected]>
(cherry picked from commit 264f6ee)1 parent e110d76 commit 766081b
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
168 | 171 | | |
169 | 172 | | |
170 | 173 | | |
| |||
0 commit comments