Home
last modified time | relevance | path

Searched hist:c64873ab94cbb7cc7860ed348f0c55a9dec146e4 (Results 1 – 5 of 5) sorted by relevance

/rk3399_ARM-atf/plat/socionext/uniphier/tsp/
H A Duniphier_tsp_setup.cc64873ab94cbb7cc7860ed348f0c55a9dec146e4 Fri Jan 17 04:46:38 UTC 2020 Masahiro Yamada <yamada.masahiro@socionext.com> uniphier: make uniphier_mmap_setup() work with PIE

BL2_BASE, BL31_BASE, and BL32_BASE are defined in platform_def.h,
that is, determined at link-time.

On the other hand, BL2_END, BL31_END, and BL32_END are derived from
the symbols produced by the linker scripts. So, they are fixed-up
at run-time if ENABLE_PIE is enabled.

To make it work in a position-indepenent manner, use BL_CODE_BASE and
BL_END, both of which are relocatable.

Change-Id: Ic179a7c60eb64c5f3024b178690b3ac7cbd7521b
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
/rk3399_ARM-atf/plat/socionext/uniphier/
H A Duniphier_xlat_setup.cc64873ab94cbb7cc7860ed348f0c55a9dec146e4 Fri Jan 17 04:46:38 UTC 2020 Masahiro Yamada <yamada.masahiro@socionext.com> uniphier: make uniphier_mmap_setup() work with PIE

BL2_BASE, BL31_BASE, and BL32_BASE are defined in platform_def.h,
that is, determined at link-time.

On the other hand, BL2_END, BL31_END, and BL32_END are derived from
the symbols produced by the linker scripts. So, they are fixed-up
at run-time if ENABLE_PIE is enabled.

To make it work in a position-indepenent manner, use BL_CODE_BASE and
BL_END, both of which are relocatable.

Change-Id: Ic179a7c60eb64c5f3024b178690b3ac7cbd7521b
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
H A Duniphier_bl31_setup.cc64873ab94cbb7cc7860ed348f0c55a9dec146e4 Fri Jan 17 04:46:38 UTC 2020 Masahiro Yamada <yamada.masahiro@socionext.com> uniphier: make uniphier_mmap_setup() work with PIE

BL2_BASE, BL31_BASE, and BL32_BASE are defined in platform_def.h,
that is, determined at link-time.

On the other hand, BL2_END, BL31_END, and BL32_END are derived from
the symbols produced by the linker scripts. So, they are fixed-up
at run-time if ENABLE_PIE is enabled.

To make it work in a position-indepenent manner, use BL_CODE_BASE and
BL_END, both of which are relocatable.

Change-Id: Ic179a7c60eb64c5f3024b178690b3ac7cbd7521b
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
H A Duniphier.hc64873ab94cbb7cc7860ed348f0c55a9dec146e4 Fri Jan 17 04:46:38 UTC 2020 Masahiro Yamada <yamada.masahiro@socionext.com> uniphier: make uniphier_mmap_setup() work with PIE

BL2_BASE, BL31_BASE, and BL32_BASE are defined in platform_def.h,
that is, determined at link-time.

On the other hand, BL2_END, BL31_END, and BL32_END are derived from
the symbols produced by the linker scripts. So, they are fixed-up
at run-time if ENABLE_PIE is enabled.

To make it work in a position-indepenent manner, use BL_CODE_BASE and
BL_END, both of which are relocatable.

Change-Id: Ic179a7c60eb64c5f3024b178690b3ac7cbd7521b
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
H A Duniphier_bl2_setup.cc64873ab94cbb7cc7860ed348f0c55a9dec146e4 Fri Jan 17 04:46:38 UTC 2020 Masahiro Yamada <yamada.masahiro@socionext.com> uniphier: make uniphier_mmap_setup() work with PIE

BL2_BASE, BL31_BASE, and BL32_BASE are defined in platform_def.h,
that is, determined at link-time.

On the other hand, BL2_END, BL31_END, and BL32_END are derived from
the symbols produced by the linker scripts. So, they are fixed-up
at run-time if ENABLE_PIE is enabled.

To make it work in a position-indepenent manner, use BL_CODE_BASE and
BL_END, both of which are relocatable.

Change-Id: Ic179a7c60eb64c5f3024b178690b3ac7cbd7521b
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>