]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPlatformPkg/ArmPlatformStackLib: switch to ASM_FUNC() asm macro
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 10 Aug 2016 14:55:23 +0000 (16:55 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 11 Aug 2016 11:25:06 +0000 (13:25 +0200)
commit926059304e8377fc37bb848d06d9419f419d93ff
treef75bb437f33a71d6fa21fe85efdc3c917ca95ad8
parentc17ae4cf8e07b2a6bbaef787d511dee81f3115fe
ArmPlatformPkg/ArmPlatformStackLib: switch to ASM_FUNC() asm macro

Annotate functions with ASM_FUNC() so that they are emitted into
separate sections.

While we're at it, replace some inefficient uses of LoadConstantToReg(),
and remove the workaround that was added to allow conditional branches
to functions with external linkage.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPlatformPkg/Library/ArmPlatformStackLib/AArch64/ArmPlatformStackLib.S
ArmPlatformPkg/Library/ArmPlatformStackLib/Arm/ArmPlatformStackLib.S