]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/SetJump.S
Use ASM_PFX to optionnaly set the underscore prefix
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / SetJump.S
index d68b95a87a32e1648ee79fda7a99168002b680cb..c8993084acc67515b47023a78bd99da652a65347 100644 (file)
@@ -19,7 +19,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl _SetJump, _InternalAssertJumpBuffer\r
+.globl ASM_PFX(SetJump), ASM_PFX(InternalAssertJumpBuffer)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
@@ -28,9 +28,9 @@
 #   OUT     BASE_LIBRARY_JUMP_BUFFER  *JumpBuffer\r
 #   );\r
 #------------------------------------------------------------------------------\r
 #   OUT     BASE_LIBRARY_JUMP_BUFFER  *JumpBuffer\r
 #   );\r
 #------------------------------------------------------------------------------\r
-_SetJump:\r
+ASM_PFX(SetJump):\r
     pushl   0x4(%esp)\r
     pushl   0x4(%esp)\r
-    call    _InternalAssertJumpBuffer\r
+    call    ASM_PFX(InternalAssertJumpBuffer)\r
     pop     %ecx\r
     pop     %ecx\r
     movl    (%esp), %edx\r
     pop     %ecx\r
     pop     %ecx\r
     movl    (%esp), %edx\r