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
1 parent 3e850a8 commit 8d69a03f6a7db3c437b7cfdd15402627277d8cb4
@Sandrine Bailleux Sandrine Bailleux authored on 27 Nov 2013
Dan Handley committed on 5 Dec 2013
Showing 17 changed files
View
arch/aarch64/cpu/cpu_helpers.S
View
arch/system/gic/aarch64/gic_v3_sysregs.S
View
bl1/aarch64/bl1_entrypoint.S
View
bl1/bl1.ld.S
View
bl2/aarch64/bl2_entrypoint.S
View
bl2/bl2.ld.S
View
bl31/aarch64/bl31_entrypoint.S
View
bl31/aarch64/runtime_exceptions.S
View
bl31/bl31.ld.S
View
common/psci/psci_entry.S
View
include/aarch64/arch.h
View
plat/fvp/aarch64/bl1_plat_helpers.S
View
plat/fvp/aarch64/fvp_common.c
View
plat/fvp/aarch64/fvp_helpers.S
View
plat/fvp/bl1_plat_setup.c
View
plat/fvp/bl2_plat_setup.c
View
plat/fvp/bl31_plat_setup.c