Various improvements/cleanups on the linker scripts
authorSandrine Bailleux <sandrine.bailleux@arm.com>
Wed, 27 Nov 2013 09:38:52 +0000 (09:38 +0000)
committerDan Handley <dan.handley@arm.com>
Thu, 5 Dec 2013 11:33:15 +0000 (11:33 +0000)
commit8d69a03f6a7db3c437b7cfdd15402627277d8cb4
treea74ad7b72757ed85d084bf50ce20feb4164c2eb6
parent3e850a84c94a5f1bc0141041ad32be94460716f7
Various improvements/cleanups on the linker scripts

  - Check at link-time that bootloader images will fit in memory
    at run time and that they won't overlap each other.
  - Remove text and rodata orphan sections.
  - Define new linker symbols to remove the need for platform setup
    code to know the order of sections.
  - Reduce the size of the raw binary images by cutting some sections
    out of the disk image and allocating them at load time, whenever
    possible.
  - Rework alignment constraints on sections.
  - Remove unused linker symbols.
  - Homogenize linker symbols names across all BLs.
  - Add some comments in the linker scripts.

Change-Id: I47a328af0ccc7c8ab47fcc0dc6e7dd26160610b9
17 files changed:
arch/aarch64/cpu/cpu_helpers.S
arch/system/gic/aarch64/gic_v3_sysregs.S
bl1/aarch64/bl1_entrypoint.S
bl1/bl1.ld.S
bl2/aarch64/bl2_entrypoint.S
bl2/bl2.ld.S
bl31/aarch64/bl31_entrypoint.S
bl31/aarch64/runtime_exceptions.S
bl31/bl31.ld.S
common/psci/psci_entry.S
include/aarch64/arch.h
plat/fvp/aarch64/bl1_plat_helpers.S
plat/fvp/aarch64/fvp_common.c
plat/fvp/aarch64/fvp_helpers.S
plat/fvp/bl1_plat_setup.c
plat/fvp/bl2_plat_setup.c
plat/fvp/bl31_plat_setup.c