]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S
MdeModulePkg DebugSupportDxe: Fix build error with GNU assembler
authorJordan Justen <jordan.l.justen@intel.com>
Wed, 17 Dec 2014 05:16:48 +0000 (05:16 +0000)
committervanjeff <vanjeff@Edk2>
Wed, 17 Dec 2014 05:16:48 +0000 (05:16 +0000)
commita1252397f50ecc02b37d4fa2db22f7b9fa7ffdf4
tree502fbedcc391fabbf5f085cd687de426c0f550a7
parentfd8a2eb062678ea4f286974137bb2aec259e7321
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
MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S