Add support to indicate size and end of assembly functions
In order for the symbol table in the ELF file to contain the size of
functions written in assembly, it is necessary to report it to the
assembler using the .size directive.

To fulfil the above requirements, this patch introduces an 'endfunc'
macro which contains the .endfunc and .size directives. It also adds
a .func directive to the 'func' assembler macro.

The .func/.endfunc have been used so the assembler can fail if
endfunc is omitted.

Fixes ARM-Software/tf-issues#295

Change-Id: If8cb331b03d7f38fe7e3694d4de26f1075b278fc
Signed-off-by: Kévin Petit <kevin.petit@arm.com>
1 parent cd31914 commit 8b779620d3bad024b83650ecfeaafd7b3ae26ccf
@Kévin Petit Kévin Petit authored on 24 Mar 2015
Showing 32 changed files
View
bl1/aarch64/bl1_entrypoint.S
View
bl2/aarch64/bl2_entrypoint.S
View
bl31/aarch64/bl31_entrypoint.S
View
bl31/aarch64/context.S
View
bl31/aarch64/cpu_data.S
View
bl31/aarch64/crash_reporting.S
View
bl31/aarch64/runtime_exceptions.S
View
bl32/tsp/aarch64/tsp_entrypoint.S
View
bl32/tsp/aarch64/tsp_request.S
View
common/aarch64/debug.S
View
drivers/arm/pl011/pl011_console.S
View
include/common/asm_macros.S
View
lib/aarch64/cache_helpers.S
View
lib/aarch64/misc_helpers.S
View
lib/cpus/aarch64/aem_generic.S
View
lib/cpus/aarch64/cortex_a53.S
View
lib/cpus/aarch64/cortex_a57.S
View
lib/cpus/aarch64/cortex_a72.S
View
lib/cpus/aarch64/cpu_helpers.S
View
lib/locks/exclusive/spinlock.S
View
lib/semihosting/aarch64/semihosting_call.S
View
plat/common/aarch64/platform_helpers.S
View
plat/common/aarch64/platform_mp_stack.S
View
plat/common/aarch64/platform_up_stack.S
View
plat/fvp/aarch64/fvp_helpers.S
View
plat/juno/aarch64/bl1_plat_helpers.S
View
plat/juno/aarch64/plat_helpers.S
View
services/spd/opteed/opteed_helpers.S
View
services/spd/tlkd/tlkd_helpers.S
View
services/spd/tspd/tspd_helpers.S
View
services/std_svc/psci/psci_entry.S
View
services/std_svc/psci/psci_helpers.S