commit | aaf8dd1f37ac57513f57afabf8b4264c31572d5e | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@st.com> | Tue Mar 10 10:15:04 2020 +0100 |
committer | Tom Rini <trini@konsulko.com> | Thu Apr 16 23:06:54 2020 -0400 |
tree | c703a5b439db353fa65bb1e19625127549cf3b95 | |
parent | 66111eb358731c051676ee8b5877c8b4c964d501 [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>