summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Universal/DebugSupportDxe
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2014-12-17 05:16:48 +0000
committervanjeff <vanjeff@Edk2>2014-12-17 05:16:48 +0000
commita1252397f50ecc02b37d4fa2db22f7b9fa7ffdf4 (patch)
tree502fbedcc391fabbf5f085cd687de426c0f550a7 /MdeModulePkg/Universal/DebugSupportDxe
parentfd8a2eb062678ea4f286974137bb2aec259e7321 (diff)
downloadedk2-a1252397f50ecc02b37d4fa2db22f7b9fa7ffdf4.tar.gz
edk2-a1252397f50ecc02b37d4fa2db22f7b9fa7ffdf4.tar.bz2
edk2-a1252397f50ecc02b37d4fa2db22f7b9fa7ffdf4.zip
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
Diffstat (limited to 'MdeModulePkg/Universal/DebugSupportDxe')
-rw-r--r--MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S2
1 files changed, 1 insertions, 1 deletions
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