diff options
author | Jeenu Viswambharan <jeenu.viswambharan@arm.com> | 2014-02-17 17:26:51 +0000 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2014-02-17 18:51:44 +0000 |
commit | 74cbb839838d770064f0c83010609a134b22f2f8 (patch) | |
tree | fab493fc7e626ae595ccf18a538b7bb3975bf227 /bl2/bl2.ld.S | |
parent | d265bd7c3156178cd3c519ce923b491e3f188790 (diff) | |
download | arm-trusted-firmware-74cbb839838d770064f0c83010609a134b22f2f8.tar.gz |
Move translation tables into separate section
This patch moves the translation tables into their own section. This
saves space that would otherwise have been lost in padding due to page
table alignment constraints. The BL31 and BL32 bases have been
consequently adjusted.
Change-Id: Ibd65ae8a5ce4c4ea9a71a794c95bbff40dc63e65
Diffstat (limited to 'bl2/bl2.ld.S')
-rw-r--r-- | bl2/bl2.ld.S | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bl2/bl2.ld.S b/bl2/bl2.ld.S index c1d5d5c2..849297a7 100644 --- a/bl2/bl2.ld.S +++ b/bl2/bl2.ld.S @@ -59,6 +59,15 @@ SECTIONS __RO_END__ = .; } >RAM + /* + * The .xlat_table section is for full, aligned page tables (4K). + * Removing them from .bss avoids forcing 4K alignment on + * the .bss section and eliminates the unecessary zero init + */ + xlat_table (NOLOAD) : { + *(xlat_table) + } >RAM + .data . : { __DATA_START__ = .; *(.data) |