]> git.proxmox.com Git - mirror_edk2.git/commit - UnixPkg/Library/DxeUnixPeCoffExtraActionLib/DxeUnixPeCoffExtraActionLib.c
Fix crash in UnixPkg caused by r10769. The DxeCore is not calling the library constru...
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 5 Aug 2010 17:08:14 +0000 (17:08 +0000)
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 5 Aug 2010 17:08:14 +0000 (17:08 +0000)
commitc0351cfecaa19d9e3384fd7180c621ec1ace4caa
tree39b05d000524c96559d6fb2d2a95d0ef3b8dbf41
parent379f83dff03405050eb8b1d778276aa8f4a178bc
Fix crash in UnixPkg caused by r10769. The DxeCore is not calling the library constructor, but is calling the library members that are coded to assume the constructor has run. Check to make sure constructor has run before using services. If Dxe Core starts calling library constructor then this code will just work, but it may cause an issue with the extra call to load symbols, since we catch the symbol load in DxeIpl.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10774 6f19259b-4bc3-4df7-8a09-765794883524
UnixPkg/Library/DxeUnixPeCoffExtraActionLib/DxeUnixPeCoffExtraActionLib.c