arm-trusted-firmware/bl2
Masahiro Yamada a7739bc7b1 linker_script: move bss section to bl_common.ld.h
Move the bss section to the common header. This adds BAKERY_LOCK_NORMAL
and PMF_TIMESTAMP, which previously existed only in BL31. This is not
a big deal because unused data should not be compiled in the first
place. I believe this should be controlled by BL*_SOURCES in Makefiles,
not by linker scripts.

I investigated BL1, BL2, BL2U, BL31 for plat=fvp, and BL2-AT-EL3,
BL31, BL31 for plat=uniphier. I did not see any more  unexpected
code addition.

The bss section has bigger alignment. I added BSS_ALIGN for this.

Currently, SORT_BY_ALIGNMENT() is missing in sp_min.ld.S, and with this
change, the BSS symbols in SP_MIN will be sorted by the alignment.
This is not a big deal (or, even better in terms of the image size).

Change-Id: I680ee61f84067a559bac0757f9d03e73119beb33
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2020-04-02 13:38:24 +09:00
..
aarch32 aarch32: stop speculative execution past exception returns 2020-03-01 06:44:30 -06:00
aarch64 BL2_AT_EL3: add PIE support 2020-01-24 22:34:25 +09:00
bl2.ld.S linker_script: move bss section to bl_common.ld.h 2020-04-02 13:38:24 +09:00
bl2.mk Add support for Branch Target Identification 2019-05-24 14:44:45 +01:00
bl2_el3.ld.S linker_script: move bss section to bl_common.ld.h 2020-04-02 13:38:24 +09:00
bl2_image_load_v2.c coverity: Fix MISRA null pointer violations 2020-02-05 14:53:02 -06:00
bl2_main.c Refactor ARMv8.3 Pointer Authentication support code 2019-09-13 14:11:59 +01:00
bl2_private.h Move BL1 and BL2 private defines to bl_common.h 2019-01-15 13:52:32 +00:00