From e3fff153803bcf256d95e5b4d31a0c04d50ed5e4 Mon Sep 17 00:00:00 2001 From: Jeenu Viswambharan Date: Mon, 24 Feb 2014 15:20:28 +0000 Subject: [PATCH] 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 --- bl2/bl2.ld.S | 11 +---------- bl31/bl31.ld.S | 11 +---------- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/bl2/bl2.ld.S b/bl2/bl2.ld.S index d30149b1..ea86e0aa 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 7b423996..0a78c41a 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 */ -- 2.30.2