]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/X64/AsmDispatchExecute.S
Replace @@ symbol since GCC does not recognize it.
[mirror_edk2.git] / EdkCompatibilityPkg / Compatibility / BootScriptSaveOnS3SaveStateThunk / X64 / AsmDispatchExecute.S
index 62cab18709d17637e3f9ba7417718d0f274acc79..3dd6bf3996abcce21c34cc1d6c4ef526b0161f9c 100644 (file)
@@ -200,11 +200,11 @@ ReloadCS:
     #\r
     pop     %r9                 # get  CS\r
     shl     $32, %r9            # rcx[32..47] <- Cs       \r
     #\r
     pop     %r9                 # get  CS\r
     shl     $32, %r9            # rcx[32..47] <- Cs       \r
-    lea     @F(%rip), %rcx\r
+    lea     ReturnToLongMode(%rip), %rcx\r
     orq     %r9, %rcx\r
     push    %rcx\r
     retf\r
     orq     %r9, %rcx\r
     push    %rcx\r
     retf\r
-@@:        \r
+ReturnToLongMode:\r
     #\r
     # Reload original DS/ES/SS\r
     #\r
     #\r
     # Reload original DS/ES/SS\r
     #\r