summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseLib/Ia32/ReadGs.S
diff options
context:
space:
mode:
authortgingold <tgingold@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-06 14:52:39 +0000
committertgingold <tgingold@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-06 14:52:39 +0000
commita2b1bf96b3470f5eb82b47e629f6c3a840f87295 (patch)
tree28c3586a7ce0eb1f364ef9c64186ae7ee11d38ed /MdePkg/Library/BaseLib/Ia32/ReadGs.S
parent1e56bac2c836f695e84f11f54a10d9bdb938084f (diff)
downloadedk2-a2b1bf96b3470f5eb82b47e629f6c3a840f87295.tar.gz
edk2-a2b1bf96b3470f5eb82b47e629f6c3a840f87295.tar.bz2
edk2-a2b1bf96b3470f5eb82b47e629f6c3a840f87295.zip
Use ASM_PFX to optionnaly set the underscore prefix
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2179 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/ReadGs.S')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadGs.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadGs.S b/MdePkg/Library/BaseLib/Ia32/ReadGs.S
index 6ae5dd1b57..82b396661d 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadGs.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadGs.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.globl _AsmReadGs
+.globl ASM_PFX(AsmReadGs)
#------------------------------------------------------------------------------
# UINT16
@@ -30,6 +30,6 @@
# VOID
# );
#------------------------------------------------------------------------------
-_AsmReadGs:
+ASM_PFX(AsmReadGs):
movl %gs, %eax
ret