Revision: 16529
          http://sourceforge.net/p/edk2/code/16529
Author:   vanjeff
Date:     2014-12-17 05:16:48 +0000 (Wed, 17 Dec 2014)
Log Message:
-----------
MdeModulePkg DebugSupportDxe: Fix build error with GNU assembler

The GNU assembler (2.24.51.20140918) is failing to build when movw is used on 
this instruction. 
Instead use the mov instruction, which matches the other cases of loading 
segment registers.

The error message seen is:
  AsmFuncs.iii:283: Error: incorrect register `%rax' used with `w' suffix

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Jeff Fan <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S

Modified: trunk/edk2/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S
===================================================================
--- trunk/edk2/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S    
2014-12-17 03:24:56 UTC (rev 16528)
+++ trunk/edk2/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S    
2014-12-17 05:16:48 UTC (rev 16529)
@@ -280,7 +280,7 @@
 
                 mov     %ds, %rax
                 pushq   %rax
-                movw    %es, %rax
+                mov     %es, %rax
                 pushq   %rax
                 mov     %fs, %rax
                 pushq   %rax


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to