diff options
author | Olivier Martin <Olivier.Martin@arm.com> | 2015-07-09 10:43:27 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@Edk2> | 2015-07-09 10:43:27 +0000 |
commit | 0f895683da0613f27ac460a69745a15571d2a2a9 (patch) | |
tree | 30cab766f4c9e8b1f9ffb1865f49aebbdab369af /MdePkg/Library/BaseCpuLib | |
parent | 1ca40fa9d979e3fe3b6c38a667456eff6c9d7efa (diff) | |
download | edk2-0f895683da0613f27ac460a69745a15571d2a2a9.tar.gz edk2-0f895683da0613f27ac460a69745a15571d2a2a9.tar.bz2 edk2-0f895683da0613f27ac460a69745a15571d2a2a9.zip |
MdePkg/AArch64: use GCC_ASM_EXPORT to export functions
This ensures the .type directive is used to mark them as function symbols
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <Olivier.Martin@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17904 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseCpuLib')
-rw-r--r-- | MdePkg/Library/BaseCpuLib/AArch64/CpuFlushTlb.S | 2 | ||||
-rw-r--r-- | MdePkg/Library/BaseCpuLib/AArch64/CpuSleep.S | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseCpuLib/AArch64/CpuFlushTlb.S b/MdePkg/Library/BaseCpuLib/AArch64/CpuFlushTlb.S index 8e12bdd357..ea01a5ddb8 100644 --- a/MdePkg/Library/BaseCpuLib/AArch64/CpuFlushTlb.S +++ b/MdePkg/Library/BaseCpuLib/AArch64/CpuFlushTlb.S @@ -17,7 +17,7 @@ .text
.p2align 2
-ASM_GLOBAL ASM_PFX(CpuFlushTlb)
+GCC_ASM_EXPORT(CpuFlushTlb)
#/**
# Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
diff --git a/MdePkg/Library/BaseCpuLib/AArch64/CpuSleep.S b/MdePkg/Library/BaseCpuLib/AArch64/CpuSleep.S index 86c3e63717..316ac656e0 100644 --- a/MdePkg/Library/BaseCpuLib/AArch64/CpuSleep.S +++ b/MdePkg/Library/BaseCpuLib/AArch64/CpuSleep.S @@ -17,7 +17,7 @@ .text
.align 3
-ASM_GLOBAL ASM_PFX(CpuSleep)
+GCC_ASM_EXPORT(CpuSleep)
#/**
# Places the CPU in a sleep state until an interrupt is received.
|