diff options
author | Jeff Fan <jeff.fan@intel.com> | 2014-12-17 05:31:42 +0000 |
---|---|---|
committer | vanjeff <vanjeff@Edk2> | 2014-12-17 05:31:42 +0000 |
commit | 4123bd7bf7c70998353b187b593dc992e0dcb146 (patch) | |
tree | b35ad1e68e413f95f549aa47976382bf09a9c68b /SourceLevelDebugPkg/Library | |
parent | e5030c1ec58c4a9bf3e70414a0413ceff7f583a9 (diff) | |
download | edk2-4123bd7bf7c70998353b187b593dc992e0dcb146.tar.gz edk2-4123bd7bf7c70998353b187b593dc992e0dcb146.tar.bz2 edk2-4123bd7bf7c70998353b187b593dc992e0dcb146.zip |
SourceLevelDebugPkg DebugAgentLib: Fix build error with GNU assembler
Use mov instead of movw.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16531 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SourceLevelDebugPkg/Library')
-rw-r--r-- | SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/AsmFuncs.S | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/AsmFuncs.S b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/AsmFuncs.S index 276f036a83..cdda41fb27 100644 --- a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/AsmFuncs.S +++ b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/AsmFuncs.S @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------
#
-# Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
@@ -271,13 +271,13 @@ NoExtrPush: movzwq 32(%rbp), %rax
# movq %cs, %rax
pushq %rax
- movw %ds, %rax
+ mov %ds, %rax
pushq %rax
- movw %es, %rax
+ mov %es, %rax
pushq %rax
- movw %fs, %rax
+ mov %fs, %rax
pushq %rax
- movw %gs, %rax
+ mov %gs, %rax
pushq %rax
## UINT64 Rip;
@@ -385,9 +385,9 @@ NoExtrPush: # mov fs, rax ; not for fs
# (X64 will not use fs and gs, so we do not restore it)
popq %rax
- movw %rax, %es
+ mov %rax, %es
popq %rax
- movw %rax, %ds
+ mov %rax, %ds
popq 32(%rbp)
popq 56(%rbp)
|