]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/BootSector/start16.S
1. Remove .extern from GCC assembly.
[mirror_edk2.git] / DuetPkg / BootSector / start16.S
index f0ff82a829a0e8cf46d7697650abb11b2810ccd0..7106f15f54ccab8bb6fd8d4500de3983d27b70af 100644 (file)
@@ -26,8 +26,8 @@
 .equ                        BLOCK_MASK,                 0x01ff\r
 .equ                        BLOCK_SHIFT,                9\r
 \r
-        .org 0x00
-.global _start
+        .org 0x00\r
+ASM_GLOBAL _start\r
 _start:\r
 Ia32Jump: \r
   jmp   BootSectorEntryPoint  # JMP inst    - 3 bytes\r
@@ -452,7 +452,7 @@ gdtr:   .word  GDT_END - GDT_BASE - 1       # GDT limit
 \r
         .align 0x2\r
 \r
-.global GDT_BASE\r
+ASM_GLOBAL GDT_BASE\r
 GDT_BASE: \r
 # null descriptor\r
 .equ                NULL_SEL, .-GDT_BASE\r
@@ -546,7 +546,7 @@ idtr:   .word IDT_END - IDT_BASE - 1  # IDT limit
 #idt_tag db "IDT",0     \r
         .align 0x2\r
 \r
-.global IDT_BASE\r
+ASM_GLOBAL IDT_BASE\r
 IDT_BASE: \r
 # divide by zero (INT 0)\r
 .equ                DIV_ZERO_SEL, .-IDT_BASE\r