Fix build break on Apple Xcode, caused by fixing normal gcc build break.
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 14 Dec 2010 22:45:46 +0000 (22:45 +0000)
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 14 Dec 2010 22:45:46 +0000 (22:45 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11166 6f19259b-4bc3-4df7-8a09-765794883524

ArmPkg/Drivers/CpuDxe/ExceptionSupport.ARMv6.S

index a4e165f..9db6756 100644 (file)
@@ -57,7 +57,9 @@ This is the stack constructed by the exception handler (low address to high addr
 .globl ASM_PFX(CommonCExceptionHandler)
 
 .text
 .globl ASM_PFX(CommonCExceptionHandler)
 
 .text
+#if !defined(__APPLE__)
 .fpu neon    @ makes vpush/vpop assemble
 .fpu neon    @ makes vpush/vpop assemble
+#endif
 .align 3
 
 
 .align 3
 
 
@@ -247,7 +249,8 @@ NoAdjustNeeded:
                                     @ R0 is ExceptionType 
   mov       R1,SP                   @ R1 is SystemContext 
 
                                     @ R0 is ExceptionType 
   mov       R1,SP                   @ R1 is SystemContext 
 
-  vpush     {d0-d15}                @ save vstm registers in case they are used in optimizations\r
+  vpush     {d0-d15}                @ save vstm registers in case they are used in optimizations
+
 
 /* 
 VOID
 
 /* 
 VOID