diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-08-10 11:43:50 +0200 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-08-11 12:29:31 +0200 |
commit | d2d0e27c7668017ef3d435a18e5d8008d36632d1 (patch) | |
tree | 1256590875ac1b4e9c646ae6d4c1186774deca02 /FatBinPkg | |
parent | 66edb631f8a284a9a0884eb6a41a603112dbff52 (diff) | |
download | edk2-platforms-d2d0e27c7668017ef3d435a18e5d8008d36632d1.tar.xz |
ArmPkg: introduce ASM_FUNC, MOV32/MOV64 and ADRL/LDRL macros
This introduces the ASM_FUNC() macro to annotate function entry points
in assembler files. This allows us to add additional metadata that
marks a function entry point as a function, and allows us to emit
a .section directive for each function, which makes it possible for
the linker to drop unreferenced code.
In addition, introduce a couple of utility macros that we can use to
clean up the code.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Eugene Cohen <eugene@hp.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'FatBinPkg')
0 files changed, 0 insertions, 0 deletions