diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2020-04-22 11:27:55 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2020-06-29 15:51:50 +0900 |
commit | e8ad6168b0153e09f1a54ee887555db7833019df (patch) | |
tree | 3c0f14914adb4638dc288fe5fef1a9fa4d352dab /plat/st | |
parent | edd8188d32eb989c069da185f47425ac739bfdfd (diff) | |
download | platform_external_arm-trusted-firmware-e8ad6168b0153e09f1a54ee887555db7833019df.tar.gz platform_external_arm-trusted-firmware-e8ad6168b0153e09f1a54ee887555db7833019df.tar.bz2 platform_external_arm-trusted-firmware-e8ad6168b0153e09f1a54ee887555db7833019df.zip |
linker_script: move .rela.dyn section to bl_common.ld.h
The .rela.dyn section is the same for BL2-AT-EL3, BL31, TSP.
Move it to the common header file.
I slightly changed the definition so that we can do "RELA_SECTION >RAM".
It still produced equivalent elf images.
Please note I got rid of '.' from the VMA field. Otherwise, if the end
of previous .data section is not 8-byte aligned, it fails to link.
aarch64-linux-gnu-ld.bfd: warning: changing start of section .rela.dyn by 4 bytes
aarch64-linux-gnu-ld.bfd: warning: changing start of section .rela.dyn by 4 bytes
aarch64-linux-gnu-ld.bfd: warning: changing start of section .rela.dyn by 4 bytes
make: *** [Makefile:1071: build/qemu/release/bl31/bl31.elf] Error 1
Change-Id: Iba7422d99c0374d4d9e97e6fd47bae129dba5cc9
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'plat/st')
0 files changed, 0 insertions, 0 deletions