]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/DxeIplPeim/Ia32/IdtVectorAsm.S
Replace .globl with ASM_GLOBAL
[mirror_edk2.git] / MdeModulePkg / Core / DxeIplPeim / Ia32 / IdtVectorAsm.S
index ee02a4104b09d6b40b0eeea76d77d5b71b9695cb..cf39bd6eb2a707630b889ddbda49d10250dbceac 100644 (file)
@@ -18,8 +18,8 @@
 \r
 \r
     .align  8\r
-    .globl  ASM_PFX(AsmGetVectorTemplatInfo)\r
-    .globl     ASM_PFX(AsmVectorFixup)\r
+    ASM_GLOBAL  ASM_PFX(AsmGetVectorTemplatInfo)\r
+    ASM_GLOBAL         ASM_PFX(AsmVectorFixup)\r
 /*\r
 ;\r
 ;-----------------------------------------------------------------------\r
 ;\r
 ;-----------------------------------------------------------------------\r
 */\r
-@VectorTemplateBase:\r
+VectorTemplateBase:\r
         pushl %eax\r
         .byte 0x6a    #  push #VectorNum\r
-@VectorNum:\r
+VectorNum:\r
         .byte 0\r
         movl  CommonInterruptEntry, %eax\r
         jmp   *%eax\r
-@VectorTemplateEnd:\r
+VectorTemplateEnd:\r
 \r
 \r
 ASM_PFX(AsmGetVectorTemplatInfo):\r
         movl  4(%esp), %ecx\r
-        movl  $@VectorTemplateBase, (%ecx)\r
-        movl  $(@VectorTemplateEnd - @VectorTemplateBase), %eax\r
+        movl  $VectorTemplateBase, (%ecx)\r
+        movl  $(VectorTemplateEnd - VectorTemplateBase), %eax\r
         ret\r
 \r
 ASM_PFX(AsmVectorFixup):\r
         movl  8(%esp), %eax\r
         movl  4(%esp), %ecx\r
-        movb  %al, (@VectorNum - @VectorTemplateBase)(%ecx)\r
+        movb  %al, (VectorNum - VectorTemplateBase)(%ecx)\r
         ret\r
 \r
 /*\r
@@ -72,8 +72,8 @@ ASM_PFX(AsmVectorFixup):
 \r
 CommonInterruptEntry: \r
         cli\r
-@@:\r
-        jmp   @@\r
+1:\r
+        jmp   1b\r
 \r
 \r
 \r