From 692477d411ec4e489caa04308ab6ed12edb3646d Mon Sep 17 00:00:00 2001 From: jljusten Date: Sat, 5 Mar 2011 08:08:47 +0000 Subject: UnixPkg: Fix build for Linux UnixPkg/UnixSnpDxe is currently BSD/OS X specific. Therefore we only build it if "-D NETWORK_SUPPORT" is used on the build command line. UnixPkg/build.sh and UnixPkg/build64.sh are updated to automatically define NETWORK_SUPPORT if building on OS X. and are also only included in UnixPkg/Include/Common/UnixInclude.h if __APPLE__ is defined. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11346 6f19259b-4bc3-4df7-8a09-765794883524 --- UnixPkg/Sec/X64/MangleGasket.S | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'UnixPkg/Sec/X64') diff --git a/UnixPkg/Sec/X64/MangleGasket.S b/UnixPkg/Sec/X64/MangleGasket.S index d457f6be12..ea1e6aa2eb 100644 --- a/UnixPkg/Sec/X64/MangleGasket.S +++ b/UnixPkg/Sec/X64/MangleGasket.S @@ -889,9 +889,8 @@ ASM_PFX(Gasketgetifaddrs): ret - -ASM_GLOBAL _Gasketfreeifaddrs -_Gasketfreeifaddrs: +ASM_GLOBAL ASM_PFX(Gasketfreeifaddrs) +ASM_PFX(Gasketfreeifaddrs): pushq %rbp // stack frame is for the debugger movq %rsp, %rbp @@ -900,7 +899,7 @@ _Gasketfreeifaddrs: movq %rcx, %rdi // Swizzle args - call _freeifaddrs + call ASM_PFX(freeifaddrs) popq %rdi // restore state @@ -909,9 +908,6 @@ _Gasketfreeifaddrs: ret - - - ASM_GLOBAL ASM_PFX(GasketUgaClose) ASM_PFX(GasketUgaClose): pushq %rbp // stack frame is for the debugger -- cgit v1.2.3