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>
.global Name ; \\r
.section #Section, "ax" ; \\r
.type Name, %function ; \\r
.global Name ; \\r
.section #Section, "ax" ; \\r
.type Name, %function ; \\r
Name:\r
\r
#define ASM_FUNC(Name) _ASM_FUNC(ASM_PFX(Name), .text. ## Name)\r
Name:\r
\r
#define ASM_FUNC(Name) _ASM_FUNC(ASM_PFX(Name), .text. ## Name)\r