mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
e5030c1ec5
commit
4123bd7bf7
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue