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 <jordan.l.justen@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16529 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Jordan Justen 2014-12-17 05:16:48 +00:00 committed by vanjeff
parent fd8a2eb062
commit a1252397f5
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ ExtraPushDone:
mov %ds, %rax mov %ds, %rax
pushq %rax pushq %rax
movw %es, %rax mov %es, %rax
pushq %rax pushq %rax
mov %fs, %rax mov %fs, %rax
pushq %rax pushq %rax