aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeenu Viswambharan <jeenu.viswambharan@arm.com>2014-02-24 15:20:28 +0000
committerDan Handley <dan.handley@arm.com>2014-02-26 19:53:48 +0000
commite3fff153803bcf256d95e5b4d31a0c04d50ed5e4 (patch)
tree0b5cb955a79d0206a4453998c96402be353f747e
parent20d284c08d81c288c821ba6878d005dd89c6cfaa (diff)
downloadarm-trusted-firmware-e3fff153803bcf256d95e5b4d31a0c04d50ed5e4.tar.gz
Remove duplicate xlat_table descriptions
The BL31 and BL2 linker scripts ended up having duplicate descriptions for xlat_tables section. This patch removes those duplicate descriptions. Change-Id: Ibbdda0902c57fca5ea4e91e0baefa6df8f0a9bb1
-rw-r--r--bl2/bl2.ld.S11
-rw-r--r--bl31/bl31.ld.S11
2 files changed, 2 insertions, 20 deletions
diff --git a/bl2/bl2.ld.S b/bl2/bl2.ld.S
index d30149b..ea86e0a 100644
--- a/bl2/bl2.ld.S
+++ b/bl2/bl2.ld.S
@@ -60,15 +60,6 @@ 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)
@@ -93,7 +84,7 @@ SECTIONS
} >RAM
/*
- * The .xlat_table section is for full, aligned page tables (4K).
+ * 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
*/
diff --git a/bl31/bl31.ld.S b/bl31/bl31.ld.S
index 7b42399..0a78c41 100644
--- a/bl31/bl31.ld.S
+++ b/bl31/bl31.ld.S
@@ -68,15 +68,6 @@ 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)
@@ -101,7 +92,7 @@ SECTIONS
} >RAM
/*
- * The .xlat_table section is for full, aligned page tables (4K).
+ * 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
*/