This is a temporary fix that should for for most tool chains. A more complete fix will be required to guarantee compatibility with all tool chains.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8973
6f19259b-4bc3-4df7-8a09-
765794883524
#\r
ASM_GLOBAL ASM_PFX(EbcLLGetEbcEntryPoint);\r
ASM_PFX(EbcLLGetEbcEntryPoint):\r
+ mov %r10, %rax\r
ret\r
\r
#/*++\r
\r
//\r
// Add code bytes to load up a processor register with the EBC entry point.\r
- // mov r10, 123456789abcdef0h => 48 B8 F0 DE BC 9A 78 56 34 12\r
+ // mov r10, 123456789abcdef0h => 49 BA F0 DE BC 9A 78 56 34 12\r
// The first 8 bytes of the thunk entry is the address of the EBC\r
// entry point.\r
//\r