diff options
author | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-05 07:35:41 +0000 |
---|---|---|
committer | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-05 07:35:41 +0000 |
commit | 5edaeedefb300ca5eb8c37adf95f001d3bf6573b (patch) | |
tree | c2904359ff26070a41115883b8168b00b88d71b4 /MdePkg | |
parent | 710436a7c08b41caba6f9d24901dc8981bf917f6 (diff) | |
download | edk2-5edaeedefb300ca5eb8c37adf95f001d3bf6573b.zip edk2-5edaeedefb300ca5eb8c37adf95f001d3bf6573b.tar.gz edk2-5edaeedefb300ca5eb8c37adf95f001d3bf6573b.tar.bz2 |
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
Diffstat (limited to 'MdePkg')
0 files changed, 0 insertions, 0 deletions