diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2020-03-10 10:15:04 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-04-16 23:06:54 -0400 |
commit | 6de299230fa63d3865501b069657ac26cedebd9a (patch) | |
tree | c703a5b439db353fa65bb1e19625127549cf3b95 /arch/arm/lib/vectors_m.S | |
parent | 15ac0c7500f041ef80a0b7df8a192466d74e15c3 (diff) |
arm: set the relocated gd with gd->new_gd
Simplify the arm relocation behavior and get gd directly form new_gd,
as it is already done in crt0_64.S:
ldr x18, [x18, #GD_NEW_GD] /* x18 <- gd->new_gd */
This patch avoid assumption on new GD location (new GD is below bd -
with #GD_SIZE offset).
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'arch/arm/lib/vectors_m.S')
0 files changed, 0 insertions, 0 deletions