Revision: 16532
http://sourceforge.net/p/edk2/code/16532
Author: vanjeff
Date: 2014-12-17 06:59:52 +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
(Sync patch r16529 from main trunk.)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Jeff Fan <[email protected]>
Revision Links:
--------------
http://sourceforge.net/p/edk2/code/16529
Modified Paths:
--------------
branches/UDK2014.SP1/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S
Modified:
branches/UDK2014.SP1/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S
===================================================================
--- branches/UDK2014.SP1/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S
2014-12-17 05:31:42 UTC (rev 16531)
+++ branches/UDK2014.SP1/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S
2014-12-17 06:59:52 UTC (rev 16532)
@@ -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