From 4123bd7bf7c70998353b187b593dc992e0dcb146 Mon Sep 17 00:00:00 2001 From: Jeff Fan Date: Wed, 17 Dec 2014 05:31:42 +0000 Subject: 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 Reviewed-by: Feng Tian git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16531 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/DebugAgent/DebugAgentCommon/X64/AsmFuncs.S | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'SourceLevelDebugPkg') 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.
+# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
# 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) -- cgit v1.2.3