arm-trusted-firmware/include/common
Masahiro Yamada caa3e7e0a4 linker_script: move .data section to bl_common.ld.h
Move the data section to the common header.

I slightly tweaked some scripts as follows:

[1] bl1.ld.S has ALIGN(16). I added DATA_ALIGN macro, which is 1
    by default, but overridden by bl1.ld.S. Currently, ALIGN(16)
    of the .data section is redundant because commit 4128659076
    ("Fix boot failures on some builds linked with ld.lld.") padded
    out the previous section to work around the issue of LLD version
    <= 10.0. This will be fixed in the future release of LLVM, so
    I am keeping the proper way to align LMA.

[2] bl1.ld.S and bl2_el3.ld.S define __DATA_RAM_{START,END}__ instead
    of __DATA_{START,END}__. I put them out of the .data section.

[3] SORT_BY_ALIGNMENT() is missing tsp.ld.S, sp_min.ld.S, and
    mediatek/mt6795/bl31.ld.S. This commit adds SORT_BY_ALIGNMENT()
    for all images, so the symbol order in those three will change,
    but I do not think it is a big deal.

Change-Id: I215bb23c319f045cd88e6f4e8ee2518c67f03692
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2020-04-25 20:09:08 +09:00
..
tbbr Factor out cross-BL API into export headers suitable for 3rd party code 2019-07-23 20:25:34 -07:00
asm_macros_common.S Add support for Branch Target Identification 2019-05-24 14:44:45 +01:00
bl_common.h bl_common: add BL_END macro 2020-01-24 22:34:25 +09:00
bl_common.ld.h linker_script: move .data section to bl_common.ld.h 2020-04-25 20:09:08 +09:00
debug.h Fix crash dump for lower EL 2020-03-06 14:17:35 +00:00
desc_image_load.h Add helper to parse BL31 parameters (both versions) 2019-07-23 20:25:34 -07:00
ep_info.h Switch AARCH32/AARCH64 to __aarch64__ 2019-08-01 13:45:03 -07:00
fdt_fixup.h Add fdt_add_reserved_memory() helper function 2019-09-13 16:54:21 +01:00
fdt_wrappers.h FDT wrappers: add functions for read/write bytes 2020-02-03 11:41:27 +00:00
image_decompress.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
interrupt_props.h Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
param_header.h Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
romlib.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
runtime_svc.h Switch AARCH32/AARCH64 to __aarch64__ 2019-08-01 13:45:03 -07:00