]> git.proxmox.com Git - mirror_edk2.git/commit
revert to older version as /Zm option for "ml" can not work well.
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 5 Dec 2008 07:35:41 +0000 (07:35 +0000)
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 5 Dec 2008 07:35:41 +0000 (07:35 +0000)
commit5edaeedefb300ca5eb8c37adf95f001d3bf6573b
treec2904359ff26070a41115883b8168b00b88d71b4
parent710436a7c08b41caba6f9d24901dc8981bf917f6
revert to older version as /Zm option for "ml" can not work well.
A bug exists when there are such statement in a asm file:
_InterlockedCompareExchangePointer  PROC
_InterlockedCompareExchangePointer  ENDP
_InterlockedCompareExchange32   PROC
    mov     ecx, [esp + 4]
    mov     eax, [esp + 8]
    mov     edx, [esp + 12]
    lock    cmpxchg [ecx], edx
    ret
_InterlockedCompareExchange32   ENDP

The assembly will export _InterlockedCompareExchangePointer but not _InterlockedCompareExchange32 when using /Zm option.
This option also introduced another strange issue in link time. Link tool will complain it can not find all symbols exported in the asm file when it is built by /Zm option.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6864 6f19259b-4bc3-4df7-8a09-765794883524
BaseTools/Conf/tools_def.template