diff options
author | Masahisa KOJIMA <masahisa.kojima@linaro.org> | 2018-06-12 17:28:46 +0900 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-06-12 10:56:02 +0200 |
commit | adf4a7c5231bb12ac2870b5b745ea95c41722239 (patch) | |
tree | 8ffde267d6b6dfaaeefa970ab4821856ccc97c2f | |
parent | aa20e0414fb35ae1f0b899183ae4c450cd2c191e (diff) |
synquacer: address linker version dependent statementsynquacer-before-armtf-rebase
With older linker, such as ld v2.24, '.' inside of section
means relative address from beginning of the section.
To address this difference, __RW_SIZE__ is moved to
outside of the bss section.
Signed-off-by: Masahisa KOJIMA <masahisa.kojima@linaro.org>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
-rw-r--r-- | bl31/bl31.ld.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bl31/bl31.ld.S b/bl31/bl31.ld.S index 420b94fe..01610cd4 100644 --- a/bl31/bl31.ld.S +++ b/bl31/bl31.ld.S @@ -134,9 +134,10 @@ SECTIONS #endif . = NEXT(4096); __BSS_END__ = .; - __RW_SIZE__ = . - __RW_START__; } >RAM + __RW_SIZE__ = . - __RW_START__; + /* * The xlat_table section is for full, aligned page tables (4K). * Removing them from .bss avoids forcing 4K alignment on |