From a1252397f50ecc02b37d4fa2db22f7b9fa7ffdf4 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Wed, 17 Dec 2014 05:16:48 +0000 Subject: 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 Reviewed-by: Jeff Fan git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16529 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MdeModulePkg/Universal') diff --git a/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S b/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S index 9783ec6b80..7f0919ee1b 100644 --- a/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S +++ b/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S @@ -280,7 +280,7 @@ ExtraPushDone: mov %ds, %rax pushq %rax - movw %es, %rax + mov %es, %rax pushq %rax mov %fs, %rax pushq %rax -- cgit v1.2.3