Use --gc-sections during link
All common functions are being built into all binary images,
whether or not they are actually used. This change enables the
use of -ffunction-sections, -fdata-sections and --gc-sections
in the compiler and linker to remove unused code and data from
the images.

Change-Id: Ia9f78c01054ac4fa15d145af38b88a0d6fb7d409
1 parent 2eb01d3 commit dccc537a7243d784e0b8b81ce1634e385c3b048b
@Andrew Thoelke Andrew Thoelke authored on 18 Mar 2014
Showing 5 changed files
View
Makefile
View
bl1/bl1.ld.S
View
bl2/bl2.ld.S
View
bl31/bl31.ld.S
View
bl32/tsp/tsp.ld.S