Revision: 17904
http://sourceforge.net/p/edk2/code/17904
Author: oliviermartin
Date: 2015-07-09 10:43:27 +0000 (Thu, 09 Jul 2015)
Log Message:
-----------
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 <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Modified Paths:
--------------
trunk/edk2/MdePkg/Library/BaseCpuLib/AArch64/CpuFlushTlb.S
trunk/edk2/MdePkg/Library/BaseCpuLib/AArch64/CpuSleep.S
trunk/edk2/MdePkg/Library/BaseLib/AArch64/CpuBreakpoint.S
trunk/edk2/MdePkg/Library/BaseLib/AArch64/DisableInterrupts.S
trunk/edk2/MdePkg/Library/BaseLib/AArch64/EnableInterrupts.S
trunk/edk2/MdePkg/Library/BaseLib/AArch64/GetInterruptsState.S
trunk/edk2/MdePkg/Library/BaseLib/AArch64/SetJumpLongJump.S
trunk/edk2/MdePkg/Library/BaseLib/AArch64/SwitchStack.S
Modified: trunk/edk2/MdePkg/Library/BaseCpuLib/AArch64/CpuFlushTlb.S
===================================================================
--- trunk/edk2/MdePkg/Library/BaseCpuLib/AArch64/CpuFlushTlb.S 2015-07-09
10:34:27 UTC (rev 17903)
+++ trunk/edk2/MdePkg/Library/BaseCpuLib/AArch64/CpuFlushTlb.S 2015-07-09
10:43:27 UTC (rev 17904)
@@ -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.
Modified: trunk/edk2/MdePkg/Library/BaseCpuLib/AArch64/CpuSleep.S
===================================================================
--- trunk/edk2/MdePkg/Library/BaseCpuLib/AArch64/CpuSleep.S 2015-07-09
10:34:27 UTC (rev 17903)
+++ trunk/edk2/MdePkg/Library/BaseCpuLib/AArch64/CpuSleep.S 2015-07-09
10:43:27 UTC (rev 17904)
@@ -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.
Modified: trunk/edk2/MdePkg/Library/BaseLib/AArch64/CpuBreakpoint.S
===================================================================
--- trunk/edk2/MdePkg/Library/BaseLib/AArch64/CpuBreakpoint.S 2015-07-09
10:34:27 UTC (rev 17903)
+++ trunk/edk2/MdePkg/Library/BaseLib/AArch64/CpuBreakpoint.S 2015-07-09
10:43:27 UTC (rev 17904)
@@ -17,7 +17,7 @@
.text
.p2align 2
-ASM_GLOBAL ASM_PFX(CpuBreakpoint)
+GCC_ASM_EXPORT(CpuBreakpoint)
#/**
# Generates a breakpoint on the CPU.
Modified: trunk/edk2/MdePkg/Library/BaseLib/AArch64/DisableInterrupts.S
===================================================================
--- trunk/edk2/MdePkg/Library/BaseLib/AArch64/DisableInterrupts.S
2015-07-09 10:34:27 UTC (rev 17903)
+++ trunk/edk2/MdePkg/Library/BaseLib/AArch64/DisableInterrupts.S
2015-07-09 10:43:27 UTC (rev 17904)
@@ -17,7 +17,7 @@
.text
.p2align 2
-ASM_GLOBAL ASM_PFX(DisableInterrupts)
+GCC_ASM_EXPORT(DisableInterrupts)
#/**
# Disables CPU interrupts.
Modified: trunk/edk2/MdePkg/Library/BaseLib/AArch64/EnableInterrupts.S
===================================================================
--- trunk/edk2/MdePkg/Library/BaseLib/AArch64/EnableInterrupts.S
2015-07-09 10:34:27 UTC (rev 17903)
+++ trunk/edk2/MdePkg/Library/BaseLib/AArch64/EnableInterrupts.S
2015-07-09 10:43:27 UTC (rev 17904)
@@ -17,7 +17,7 @@
.text
.p2align 2
-ASM_GLOBAL ASM_PFX(EnableInterrupts)
+GCC_ASM_EXPORT(EnableInterrupts)
#/**
Modified: trunk/edk2/MdePkg/Library/BaseLib/AArch64/GetInterruptsState.S
===================================================================
--- trunk/edk2/MdePkg/Library/BaseLib/AArch64/GetInterruptsState.S
2015-07-09 10:34:27 UTC (rev 17903)
+++ trunk/edk2/MdePkg/Library/BaseLib/AArch64/GetInterruptsState.S
2015-07-09 10:43:27 UTC (rev 17904)
@@ -17,7 +17,7 @@
.text
.p2align 2
-ASM_GLOBAL ASM_PFX(GetInterruptState)
+GCC_ASM_EXPORT(GetInterruptState)
#/**
# Retrieves the current CPU interrupt state.
Modified: trunk/edk2/MdePkg/Library/BaseLib/AArch64/SetJumpLongJump.S
===================================================================
--- trunk/edk2/MdePkg/Library/BaseLib/AArch64/SetJumpLongJump.S 2015-07-09
10:34:27 UTC (rev 17903)
+++ trunk/edk2/MdePkg/Library/BaseLib/AArch64/SetJumpLongJump.S 2015-07-09
10:43:27 UTC (rev 17904)
@@ -13,8 +13,8 @@
.text
.p2align 3
-ASM_GLOBAL ASM_PFX(SetJump)
-ASM_GLOBAL ASM_PFX(InternalLongJump)
+GCC_ASM_EXPORT(SetJump)
+GCC_ASM_EXPORT(InternalLongJump)
#define GPR_LAYOUT \
REG_PAIR (x19, x20, 0); \
Modified: trunk/edk2/MdePkg/Library/BaseLib/AArch64/SwitchStack.S
===================================================================
--- trunk/edk2/MdePkg/Library/BaseLib/AArch64/SwitchStack.S 2015-07-09
10:34:27 UTC (rev 17903)
+++ trunk/edk2/MdePkg/Library/BaseLib/AArch64/SwitchStack.S 2015-07-09
10:43:27 UTC (rev 17904)
@@ -16,8 +16,8 @@
.text
.align 5
-ASM_GLOBAL ASM_PFX(InternalSwitchStackAsm)
-ASM_GLOBAL ASM_PFX(CpuPause)
+GCC_ASM_EXPORT(InternalSwitchStackAsm)
+GCC_ASM_EXPORT(CpuPause)
/**
//
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits