]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/AsmMacroIoLib: force word alignment for functions
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 13 Sep 2016 17:25:14 +0000 (18:25 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 21 Sep 2016 07:53:24 +0000 (08:53 +0100)
commit493b40451d4f841c14f9ee35da1492084baa8d9b
treecba51490dc5b0615f2578b845d746be73990f294
parent3c3cf1cd731f5aa8fdc00392cbf7c5e36055bf18
ArmPkg/AsmMacroIoLib: force word alignment for functions

Without an explicit .align directive, the Clang assembler defaults to
no alignment, which may result in instructions appearing misaligned in
the final executable. So use word alignment in all cases.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
ArmPkg/Include/AsmMacroIoLib.h